Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001497/0.001497, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001812/0.001812, allocations: 169.4 kB / 24.06 MB, free: 456 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 1.108/1.108, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.138/2.138, allocations: 429.5 MB / 0.6743 GB, free: 3.906 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.8794 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.026e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.059 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.001563/0.001584, allocations: 0.8475 MB / 0.8802 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.002824, allocations: 1.215 MB / 0.8814 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.268e-05/0.002896, allocations: 7.938 kB / 0.8814 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.003013, allocations: 15.8 kB / 0.8814 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.155e-05/0.003104, allocations: 11.94 kB / 0.8814 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004006/0.003505, allocations: 147.5 kB / 0.8816 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000323/0.003828, allocations: 340.6 kB / 0.8819 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.003982, allocations: 70.91 kB / 0.882 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.004164, allocations: 216.6 kB / 0.8822 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.004357, allocations: 139.8 kB / 0.8823 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.404e-05/0.004401, allocations: 36.66 kB / 0.8823 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.287e-05/0.004484, allocations: 47.97 kB / 0.8824 GB, free: 3 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.216e-05/0.004536, allocations: 45.44 kB / 0.8824 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.854e-05/0.004635, allocations: 107.8 kB / 0.8825 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.004936, allocations: 327.2 kB / 0.8828 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.004938, allocations: 0 / 0.8828 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.12e-07/0.004939, allocations: 4 kB / 0.8828 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.004942, allocations: 0 / 0.8828 GB, free: 2.527 MB / 0.8386 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.0005654/0.005508, allocations: 0.6062 MB / 0.8834 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.005541, allocations: 8.031 kB / 0.8834 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.976e-05/0.005611, allocations: 36.84 kB / 0.8835 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.005829, allocations: 198 kB / 0.8837 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/0.00586, allocations: 24.36 kB / 0.8837 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/0.005896, allocations: 24.31 kB / 0.8837 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.006033, allocations: 107.9 kB / 0.8838 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.006043, allocations: 192 / 0.8838 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.006056, allocations: 12.38 kB / 0.8838 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.006061, allocations: 384 / 0.8838 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.216e-05/0.006123, allocations: 40.41 kB / 0.8839 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005184/0.006642, allocations: 0.4958 MB / 0.8843 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.664e-05/0.006739, allocations: 59.03 kB / 0.8844 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.144e-05/0.00677, allocations: 31.61 kB / 0.8844 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.006786, allocations: 0 / 0.8844 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001285/0.006914, allocations: 129 kB / 0.8846 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.984e-06/0.006916, allocations: 11.98 kB / 0.8846 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0002462/0.007162, allocations: 148.3 kB / 0.8847 GB, free: 468 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.0072, allocations: 63.33 kB / 0.8848 GB, free: 392 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.007329, allocations: 241.8 kB / 0.885 GB, free: 132 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.00736, allocations: 33.7 kB / 0.885 GB, free: 92 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.007468, allocations: 195.1 kB / 0.8852 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.007495, allocations: 39.69 kB / 0.8853 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.007602, allocations: 95.28 kB / 0.8853 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.007722, allocations: 0.504 MB / 0.8858 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.007863, allocations: 161 kB / 0.886 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.008021, allocations: 248.2 kB / 0.8862 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.008294, allocations: 258 kB / 0.8865 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.008296, allocations: 0 / 0.8865 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004309/0.008727, allocations: 483.5 kB / 0.8869 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.546e-05/0.008783, allocations: 97.09 kB / 0.887 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.008788, allocations: 3.984 kB / 0.887 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.008799, allocations: 4 kB / 0.887 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.618e-05/0.008865, allocations: 11.94 kB / 0.887 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.008869, allocations: 4 kB / 0.887 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.009075, allocations: 67.98 kB / 0.8871 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/0.009103, allocations: 19.98 kB / 0.8871 GB, free: 13.73 MB / 0.8542 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.0001102/0.009214, allocations: 184.5 kB / 0.8873 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.009236, allocations: 15.91 kB / 0.8873 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001778/0.009414, allocations: 139.3 kB / 0.8875 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.009416, allocations: 0 / 0.8875 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.009419, allocations: 3.938 kB / 0.8875 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.009424, allocations: 3.984 kB / 0.8875 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.009557, allocations: 157.1 kB / 0.8876 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.00956, allocations: 8 kB / 0.8876 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.73e-05/0.009597, allocations: 11.98 kB / 0.8876 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.0096, allocations: 0 / 0.8876 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.009608, allocations: 4 kB / 0.8876 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.009609, allocations: 0 / 0.8876 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.00961, allocations: 3.938 kB / 0.8876 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.009761, allocations: 172.2 kB / 0.8878 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.288e-05/0.009774, allocations: 15.89 kB / 0.8878 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.009788, allocations: 4 kB / 0.8878 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.102e-05/0.009809, allocations: 4 kB / 0.8878 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.009842, allocations: 11.98 kB / 0.8878 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.00985, allocations: 11.98 kB / 0.8878 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.815e-05/0.009908, allocations: 164.1 kB / 0.888 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.009908, allocations: 0 / 0.888 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002137/0.01012, allocations: 67.89 kB / 0.8881 GB, free: 12.7 MB / 0.8542 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.0001121/0.01023, allocations: 107.2 kB / 0.8882 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003213/0.01056, allocations: 426.8 kB / 0.8886 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.01056, allocations: 448 / 0.8886 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.155e-05/0.01061, allocations: 58.55 kB / 0.8886 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.01081, allocations: 35.91 kB / 0.8887 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003768/0.01118, allocations: 318.9 kB / 0.889 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.839e-05/0.01123, allocations: 87.81 kB / 0.8891 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.155e-05/0.01127, allocations: 17.48 kB / 0.8891 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.01144, allocations: 134.1 kB / 0.8892 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of SimCode: time 6.82e-07/0.01144, allocations: 0 / 0.8892 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of Templates: time 0.005729/0.01717, allocations: 4.399 MB / 0.8935 GB, free: 7.105 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & ./Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.710726459044963]