Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.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.001044/0.001044, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001569/0.001569, allocations: 165 kB / 23.82 MB, free: 0.75 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 1.071/1.071, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.952/1.952, allocations: 377.8 MB / 0.6236 GB, free: 8.543 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.Templates.Components.Controls.Validation.MultipleCommands,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conCom.y1.[0-9,]+.|conCom.y1One|conCom.nUniOn|conCom.nUniOnBou",fileNamePrefix="Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands") translateModel(Buildings.Templates.Components.Controls.Validation.MultipleCommands,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conCom.y1.[0-9,]+.|conCom.y1One|conCom.nUniOn|conCom.nUniOnBou",fileNamePrefix="Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.8115 GB, free: 1.758 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.773e-05/2.942e-05, allocations: 9.938 kB / 0.8115 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.001581/0.001611, allocations: 0.8409 MB / 0.8123 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001485/0.003095, allocations: 1.219 MB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.6e-05/0.003181, allocations: 4 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.003335, allocations: 11.86 kB / 0.8135 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.00347, allocations: 28.81 kB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004353/0.003906, allocations: 136.4 kB / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003263/0.004232, allocations: 353 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.004403, allocations: 74.84 kB / 0.8141 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.004565, allocations: 203.7 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.004757, allocations: 147.8 kB / 0.8144 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.001e-05/0.004807, allocations: 37.53 kB / 0.8145 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.125e-05/0.004888, allocations: 39.98 kB / 0.8145 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.782e-05/0.004946, allocations: 47.84 kB / 0.8146 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.005059, allocations: 111.8 kB / 0.8147 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000315/0.005374, allocations: 315.9 kB / 0.815 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.005377, allocations: 0.9062 kB / 0.815 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.513e-06/0.005379, allocations: 0 / 0.815 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.005384, allocations: 0 / 0.815 GB, free: 14.22 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006342/0.006018, allocations: 0.6156 MB / 0.8156 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.006058, allocations: 8.031 kB / 0.8156 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.618e-05/0.006144, allocations: 44.78 kB / 0.8156 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.006419, allocations: 216.8 kB / 0.8158 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.313e-05/0.006452, allocations: 16.38 kB / 0.8158 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.835e-05/0.006491, allocations: 24.38 kB / 0.8159 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.006668, allocations: 118.9 kB / 0.816 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.00668, allocations: 192 / 0.816 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.006695, allocations: 4.375 kB / 0.816 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.006704, allocations: 4.375 kB / 0.816 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.049e-05/0.006795, allocations: 44.44 kB / 0.816 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006736/0.007468, allocations: 0.5583 MB / 0.8166 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.007596, allocations: 65.23 kB / 0.8166 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.65e-05/0.007643, allocations: 27.67 kB / 0.8167 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.007668, allocations: 8.125 kB / 0.8167 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/0.007819, allocations: 124.9 kB / 0.8168 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.744e-06/0.007821, allocations: 0.5 kB / 0.8168 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0003028/0.008124, allocations: 171.6 kB / 0.817 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.008161, allocations: 59.34 kB / 0.817 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.008306, allocations: 251.6 kB / 0.8173 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.635e-05/0.008342, allocations: 37.69 kB / 0.8173 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.471e-05/0.008437, allocations: 188.3 kB / 0.8175 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.008463, allocations: 43.62 kB / 0.8175 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.008568, allocations: 91.33 kB / 0.8176 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001967/0.008765, allocations: 0.5054 MB / 0.8181 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.008956, allocations: 181 kB / 0.8183 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.009157, allocations: 258.5 kB / 0.8185 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.009376, allocations: 271.2 kB / 0.8188 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.009378, allocations: 1.125 kB / 0.8188 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005046/0.009883, allocations: 0.4887 MB / 0.8192 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.988e-05/0.009943, allocations: 97.94 kB / 0.8193 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.00995, allocations: 4 kB / 0.8193 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.009971, allocations: 6.156 kB / 0.8193 GB, free: 9.344 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.436e-05/0.01007, allocations: 19.92 kB / 0.8194 GB, free: 9.324 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.01007, allocations: 4 kB / 0.8194 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.0103, allocations: 94.53 kB / 0.8195 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.01033, allocations: 19.98 kB / 0.8195 GB, free: 9.211 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conCom.mulOr.uTemp[2],conCom.y1One,y1[3].y,$PRE.y1[3].y,y1[2].y,$PRE.y1[2].y,y1[1].y,$PRE.y1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 3 * 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.0001086/0.01044, allocations: 177.6 kB / 0.8196 GB, free: 9.027 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.01046, allocations: 23.89 kB / 0.8197 GB, free: 9.004 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002081/0.01067, allocations: 139.4 kB / 0.8198 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.01067, allocations: 5.406 kB / 0.8198 GB, free: 8.863 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.01068, allocations: 0 / 0.8198 GB, free: 8.863 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.01068, allocations: 4 kB / 0.8198 GB, free: 8.859 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.01082, allocations: 188.6 kB / 0.82 GB, free: 8.641 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01082, allocations: 0.5 kB / 0.82 GB, free: 8.641 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.067e-05/0.01087, allocations: 12.55 kB / 0.82 GB, free: 8.629 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.01088, allocations: 9.312 kB / 0.82 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/0.01089, allocations: 4 kB / 0.82 GB, free: 8.617 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.01089, allocations: 0 / 0.82 GB, free: 8.617 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.01089, allocations: 3.938 kB / 0.82 GB, free: 8.613 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.01106, allocations: 183.8 kB / 0.8202 GB, free: 8.414 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.154e-05/0.01107, allocations: 11.91 kB / 0.8202 GB, free: 8.402 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.01109, allocations: 0.5938 kB / 0.8202 GB, free: 8.402 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.684e-05/0.01111, allocations: 11.98 kB / 0.8202 GB, free: 8.391 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.01116, allocations: 19.59 kB / 0.8202 GB, free: 8.375 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.01117, allocations: 8 kB / 0.8202 GB, free: 8.367 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.663e-05/0.01123, allocations: 159.2 kB / 0.8204 GB, free: 8.211 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01123, allocations: 0 / 0.8204 GB, free: 8.211 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002019/0.01144, allocations: 79.81 kB / 0.8205 GB, free: 8.133 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: 11 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,y1[1].y,y1[2].y,y1[3].y,conCom.y1One,conCom.mulOr.uTemp[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000137/0.01157, allocations: 103.2 kB / 0.8206 GB, free: 8.02 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003934/0.01197, allocations: 443.4 kB / 0.821 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01197, allocations: 0 / 0.821 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.304e-05/0.01203, allocations: 55.59 kB / 0.8211 GB, free: 7.473 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.01224, allocations: 40.52 kB / 0.8211 GB, free: 7.438 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004438/0.01269, allocations: 336.1 kB / 0.8214 GB, free: 7.082 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.483e-05/0.01274, allocations: 83.81 kB / 0.8215 GB, free: 6.98 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.83e-05/0.01279, allocations: 18.58 kB / 0.8215 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.46e-05/0.01283, allocations: 21.22 kB / 0.8215 GB, free: 6.941 MB / 0.7761 GB Notification: Performance of SimCode: time 7.21e-07/0.01283, allocations: 0 / 0.8215 GB, free: 6.941 MB / 0.7761 GB Notification: Performance of Templates: time 0.005654/0.01848, allocations: 4.01 MB / 0.8254 GB, free: 3.023 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & ./Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Components_Controls_Validation_MultipleCommands.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.555238761007786]