Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000924/0.000924, allocations: 81.95 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009324/0.0009324, allocations: 185 kB / 24.09 MB, free: 412 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9134/0.9134, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.859/1.859, allocations: 359 MB / 0.6055 GB, free: 10.83 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.472e-05/3.737e-05, allocations: 3.188 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001987/0.002024, allocations: 0.6228 MB / 0.7882 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001646/0.002189, allocations: 7.938 kB / 0.7882 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.975e-05/0.002249, allocations: 1.469 kB / 0.7882 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.803e-05/0.002347, allocations: 0 / 0.7882 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.468e-05/0.002391, allocations: 15.86 kB / 0.7882 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.51e-05/0.002456, allocations: 4 kB / 0.7882 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.525e-05/0.002542, allocations: 28.47 kB / 0.7882 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.002673, allocations: 17.39 kB / 0.7882 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.601e-05/0.002719, allocations: 15.98 kB / 0.7883 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.411e-05/0.002753, allocations: 8 kB / 0.7883 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.002775, allocations: 4 kB / 0.7883 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.271e-05/0.002788, allocations: 5.062 kB / 0.7883 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.902e-05/0.002827, allocations: 19.91 kB / 0.7883 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.719e-05/0.002854, allocations: 8 kB / 0.7883 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.002958, allocations: 33.41 kB / 0.7883 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.00296, allocations: 0 / 0.7883 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.37e-06/0.002966, allocations: 3.984 kB / 0.7883 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.349e-06/0.00297, allocations: 0 / 0.7883 GB, free: 11.41 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000359/0.003329, allocations: 379 kB / 0.7887 GB, free: 11 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.003384, allocations: 8.031 kB / 0.7887 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4e-05/0.003424, allocations: 12.89 kB / 0.7887 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.003605, allocations: 124.5 kB / 0.7888 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.00362, allocations: 4.375 kB / 0.7888 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.003634, allocations: 4.375 kB / 0.7888 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.003759, allocations: 48 kB / 0.7889 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.003769, allocations: 192 / 0.7889 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.00378, allocations: 4.375 kB / 0.7889 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.003789, allocations: 384 / 0.7889 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.357e-05/0.003822, allocations: 15.92 kB / 0.7889 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005349/0.004357, allocations: 0.507 MB / 0.7894 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.004491, allocations: 269.4 kB / 0.7897 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.952e-05/0.00454, allocations: 128.2 kB / 0.7898 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.301e-05/0.004583, allocations: 119.2 kB / 0.7899 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.82e-05/0.004652, allocations: 156.6 kB / 0.79 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.643e-06/0.004653, allocations: 1.328 kB / 0.79 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 8.196e-05/0.004735, allocations: 30.25 kB / 0.7901 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.609e-05/0.004821, allocations: 170.6 kB / 0.7902 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.004998, allocations: 198.6 kB / 0.7904 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.005011, allocations: 25.7 kB / 0.7904 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.1e-05/0.005102, allocations: 139.7 kB / 0.7906 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-06/0.005105, allocations: 0 / 0.7906 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-05/0.005154, allocations: 27.34 kB / 0.7906 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0004669/0.005621, allocations: 0.4909 MB / 0.7911 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.692e-05/0.005638, allocations: 0 / 0.7911 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.888e-06/0.005648, allocations: 0 / 0.7911 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.721e-05/0.005695, allocations: 15.62 kB / 0.7911 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.005698, allocations: 0 / 0.7911 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001253/0.005823, allocations: 38.17 kB / 0.7911 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.005842, allocations: 10.91 kB / 0.7911 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.005848, allocations: 3.938 kB / 0.7912 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.005865, allocations: 4.469 kB / 0.7912 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.807e-05/0.005933, allocations: 4 kB / 0.7912 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.005937, allocations: 1.656 kB / 0.7912 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.231e-05/0.005959, allocations: 4 kB / 0.7912 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.005969, allocations: 0 / 0.7912 GB, free: 8.312 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (mulMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001478/0.006117, allocations: 276.3 kB / 0.7914 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.301e-05/0.0062, allocations: 148.9 kB / 0.7916 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.09e-05/0.006281, allocations: 161.1 kB / 0.7917 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.407e-05/0.006375, allocations: 272.2 kB / 0.792 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.699e-05/0.006472, allocations: 273.2 kB / 0.7922 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-05/0.006571, allocations: 268 kB / 0.7925 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.006858, allocations: 488.5 kB / 0.793 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.334e-05/0.006911, allocations: 154.2 kB / 0.7931 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.226e-05/0.006963, allocations: 148.8 kB / 0.7933 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.962e-05/0.007063, allocations: 268.1 kB / 0.7935 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/0.007163, allocations: 276 kB / 0.7938 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.269e-05/0.007256, allocations: 265.8 kB / 0.794 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001001/0.007356, allocations: 272 kB / 0.7943 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.007599, allocations: 452 kB / 0.7947 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.702e-05/0.007686, allocations: 152.8 kB / 0.7949 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.007819, allocations: 269.4 kB / 0.7951 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.007939, allocations: 148.8 kB / 0.7953 GB, free: 3.949 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.008052, allocations: 272.1 kB / 0.7955 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.98e-05/0.008111, allocations: 148.8 kB / 0.7957 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.062e-05/0.008202, allocations: 132.3 kB / 0.7958 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.008202, allocations: 0 / 0.7958 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000285/0.008487, allocations: 9.219 kB / 0.7958 GB, free: 3.387 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002356/0.008723, allocations: 218.4 kB / 0.796 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.823e-05/0.008811, allocations: 13 kB / 0.796 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.008813, allocations: 0 / 0.796 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.525e-06/0.008816, allocations: 0 / 0.796 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006/0.009416, allocations: 0.7077 MB / 0.7967 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003868/0.009803, allocations: 265.1 kB / 0.797 GB, free: 2.148 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.392e-05/0.009857, allocations: 59.34 kB / 0.797 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.829e-05/0.009885, allocations: 3.984 kB / 0.797 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.421e-05/0.009939, allocations: 68.89 kB / 0.7971 GB, free: 2 MB / 0.7448 GB Notification: Performance of SimCode: time 5.41e-07/0.00994, allocations: 7.938 kB / 0.7971 GB, free: 1.992 MB / 0.7448 GB Notification: Performance of Templates: time 0.002307/0.01225, allocations: 326 kB / 0.7974 GB, free: 1.68 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.739080812782049]