Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.0008347/0.0008347, allocations: 80.3 kB / 21.47 MB, free: 3.023 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.000979/0.000979, allocations: 171.8 kB / 24.87 MB, free: 8.883 MB / 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.9841/0.9841, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.947/1.947, allocations: 377.9 MB / 0.6247 GB, free: 8.418 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.[0-9,]+..y|maxVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.[0-9,]+..y|maxVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.8128 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.927e-05/3.146e-05, allocations: 6.25 kB / 0.8128 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.00157/0.001602, allocations: 0.6707 MB / 0.8135 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001443/0.001746, allocations: 15.98 kB / 0.8135 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.481e-05/0.001791, allocations: 4.781 kB / 0.8135 GB, free: 0.7305 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.001906, allocations: 4.859 kB / 0.8135 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.249e-05/0.001949, allocations: 2.375 kB / 0.8135 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 6.639e-05/0.002015, allocations: 0 / 0.8135 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.057e-05/0.002096, allocations: 31.86 kB / 0.8136 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.002217, allocations: 19.98 kB / 0.8136 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.427e-05/0.002251, allocations: 19.97 kB / 0.8136 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.822e-05/0.002279, allocations: 11.98 kB / 0.8136 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.002295, allocations: 4 kB / 0.8136 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.837e-06/0.002304, allocations: 5.094 kB / 0.8136 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.93e-05/0.002333, allocations: 15.88 kB / 0.8136 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.011e-05/0.002353, allocations: 12.77 kB / 0.8136 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.012e-05/0.002433, allocations: 31.91 kB / 0.8137 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.002435, allocations: 3.938 kB / 0.8137 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.32e-07/0.002436, allocations: 1.344 kB / 0.8137 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.002439, allocations: 0 / 0.8137 GB, free: 0.5742 MB / 0.7605 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.0002615/0.002701, allocations: 372.6 kB / 0.814 GB, free: 176 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.002738, allocations: 13.97 kB / 0.814 GB, free: 164 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/0.002768, allocations: 16.89 kB / 0.8141 GB, free: 148 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.003072, allocations: 116.5 kB / 0.8142 GB, free: 4 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.003095, allocations: 8.453 kB / 0.8142 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.717e-06/0.003104, allocations: 8.312 kB / 0.8142 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.551e-05/0.003179, allocations: 47.92 kB / 0.8142 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-06/0.003186, allocations: 192 / 0.8142 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-06/0.003193, allocations: 4.375 kB / 0.8142 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.003197, allocations: 384 / 0.8142 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.026e-05/0.003217, allocations: 11.94 kB / 0.8143 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.003553, allocations: 0.5111 MB / 0.8147 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.989e-05/0.003633, allocations: 265.4 kB / 0.815 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.142e-05/0.003664, allocations: 127.4 kB / 0.8151 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.003693, allocations: 119.2 kB / 0.8152 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/0.003739, allocations: 161.2 kB / 0.8154 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.00374, allocations: 0.5312 kB / 0.8154 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.851e-05/0.003799, allocations: 37.64 kB / 0.8154 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.003853, allocations: 171.9 kB / 0.8156 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.238e-05/0.003945, allocations: 173.9 kB / 0.8158 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.225e-06/0.003953, allocations: 25.7 kB / 0.8158 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.518e-05/0.004029, allocations: 151.3 kB / 0.8159 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-06/0.00403, allocations: 0 / 0.8159 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.004058, allocations: 20.75 kB / 0.8159 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.004177, allocations: 496.1 kB / 0.8164 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.083e-06/0.004184, allocations: 0 / 0.8164 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.793e-06/0.004191, allocations: 5.156 kB / 0.8164 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.032e-05/0.004221, allocations: 15.56 kB / 0.8164 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.004223, allocations: 1.156 kB / 0.8164 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.65e-05/0.0043, allocations: 41.64 kB / 0.8165 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.004311, allocations: 4 kB / 0.8165 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.004315, allocations: 0.8438 kB / 0.8165 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.194e-06/0.004323, allocations: 0 / 0.8165 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.782e-05/0.00437, allocations: 4.844 kB / 0.8165 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.574e-06/0.004373, allocations: 0 / 0.8165 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.368e-05/0.004387, allocations: 5.281 kB / 0.8165 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.004394, allocations: 0 / 0.8165 GB, free: 13.5 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * 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 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 8.956e-05/0.004484, allocations: 279.7 kB / 0.8168 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.466e-05/0.004539, allocations: 157.6 kB / 0.8169 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.988e-05/0.004588, allocations: 152.4 kB / 0.8171 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.427e-05/0.004663, allocations: 277.2 kB / 0.8173 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-05/0.00473, allocations: 268.2 kB / 0.8176 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.785e-05/0.004798, allocations: 272.2 kB / 0.8178 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.004975, allocations: 488.4 kB / 0.8183 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.402e-05/0.005009, allocations: 154.2 kB / 0.8184 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.067e-05/0.00505, allocations: 156.8 kB / 0.8186 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.855e-05/0.005108, allocations: 268.1 kB / 0.8189 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.895e-05/0.005167, allocations: 265.7 kB / 0.8191 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-05/0.005236, allocations: 268 kB / 0.8194 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.526e-05/0.005301, allocations: 272.1 kB / 0.8196 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.00543, allocations: 451.9 kB / 0.8201 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.486e-05/0.005475, allocations: 163.5 kB / 0.8202 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.682e-05/0.005542, allocations: 264.1 kB / 0.8205 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.525e-05/0.005607, allocations: 152.9 kB / 0.8206 GB, free: 9.117 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.378e-05/0.005671, allocations: 268 kB / 0.8209 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.005706, allocations: 144.9 kB / 0.821 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.828e-05/0.005754, allocations: 135.5 kB / 0.8211 GB, free: 8.566 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005754, allocations: 0 / 0.8211 GB, free: 8.566 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001482/0.005902, allocations: 11.94 kB / 0.8211 GB, free: 8.555 MB / 0.7761 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.0001326/0.006035, allocations: 215.5 kB / 0.8213 GB, free: 8.332 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.757e-05/0.006092, allocations: 16.94 kB / 0.8214 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.006094, allocations: 0 / 0.8214 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.011e-06/0.006095, allocations: 0 / 0.8214 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000552/0.006647, allocations: 0.707 MB / 0.8221 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002228/0.00687, allocations: 257.3 kB / 0.8223 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.527e-05/0.006905, allocations: 60.69 kB / 0.8224 GB, free: 7.242 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.706e-05/0.006922, allocations: 0 / 0.8224 GB, free: 7.242 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.864e-05/0.006961, allocations: 70.2 kB / 0.8224 GB, free: 7.172 MB / 0.7761 GB Notification: Performance of SimCode: time 7.02e-07/0.006961, allocations: 0.9062 kB / 0.8224 GB, free: 7.172 MB / 0.7761 GB Notification: Performance of Templates: time 0.001776/0.008738, allocations: 339.5 kB / 0.8227 GB, free: 6.852 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.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: 5.167458278127015]