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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Components.Controls.Validation.MultipleCommands,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conCom.y1.1.|conCom.y1.2.|conCom.y1.3.|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=5000,variableFilter="time|conCom.y1.1.|conCom.y1.2.|conCom.y1.3.|conCom.y1One|conCom.nUniOn|conCom.nUniOnBou",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 107.3 kB / 16.41 MB, free: 6.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 188.9 kB / 17.34 MB, free: 5.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.56/2.56, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 67.89 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8763/0.878, allocations: 157.4 MB / 1.208 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002354/0.8804, allocations: 0.8298 MB / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001797/0.8822, allocations: 1.17 MB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.8823, allocations: 3.938 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000148/0.8825, allocations: 15.86 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.8827, allocations: 15.92 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006355/0.8833, allocations: 142.9 kB / 1.211 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005425/0.8839, allocations: 363.4 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002502/0.8841, allocations: 106.5 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002503/0.8844, allocations: 151.7 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002869/0.8847, allocations: 143.6 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.105e-05/0.8848, allocations: 32 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.8849, allocations: 47.98 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.686e-05/0.885, allocations: 43.84 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002287/0.8852, allocations: 135.5 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005306/0.8858, allocations: 400.7 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.8858, allocations: 0 / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.254e-06/0.8858, allocations: 4 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.684e-05/0.8858, allocations: 0 / 1.212 GB, free: 10.18 MB / 0.9356 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.001121/0.8869, allocations: 0.5818 MB / 1.212 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.887, allocations: 12.03 kB / 1.212 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.8871, allocations: 24.75 kB / 1.212 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004035/0.8875, allocations: 280.6 kB / 1.213 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.215e-05/0.8876, allocations: 16.38 kB / 1.213 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-05/0.8877, allocations: 28.36 kB / 1.213 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003269/0.888, allocations: 183.3 kB / 1.213 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.888, allocations: 192 / 1.213 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.679e-05/0.888, allocations: 19.86 kB / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.8881, allocations: 0 / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002347/0.8884, allocations: 147.9 kB / 1.213 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.8894, allocations: 0.6601 MB / 1.214 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.8896, allocations: 134.4 kB / 1.214 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.8897, allocations: 76.8 kB / 1.214 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.8898, allocations: 3.938 kB / 1.214 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002565/0.89, allocations: 171.2 kB / 1.214 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.89, allocations: 0 / 1.214 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.000532/0.8906, allocations: 298.8 kB / 1.214 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.8906, allocations: 63.39 kB / 1.214 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.8908, allocations: 190.8 kB / 1.215 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.917e-05/0.8909, allocations: 33.7 kB / 1.215 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.891, allocations: 136.3 kB / 1.215 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.072e-05/0.8911, allocations: 39.53 kB / 1.215 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.8913, allocations: 85.67 kB / 1.215 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.8914, allocations: 330.8 kB / 1.215 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004197/0.8919, allocations: 219.8 kB / 1.215 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003843/0.8923, allocations: 279.5 kB / 1.216 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004679/0.8927, allocations: 390.9 kB / 1.216 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.8927, allocations: 4 kB / 1.216 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000916/0.8937, allocations: 0.6191 MB / 1.217 GB, free: 4.887 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.734e-05/0.8938, allocations: 101.3 kB / 1.217 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.8938, allocations: 8 kB / 1.217 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.8938, allocations: 0 / 1.217 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.8939, allocations: 19.92 kB / 1.217 GB, free: 4.742 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.8939, allocations: 4 kB / 1.217 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005262/0.8945, allocations: 103.7 kB / 1.217 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.896e-05/0.8945, allocations: 23.98 kB / 1.217 GB, free: 4.613 MB / 0.9356 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.0001848/0.8947, allocations: 169.2 kB / 1.217 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.8947, allocations: 19.75 kB / 1.217 GB, free: 4.422 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003615/0.8951, allocations: 231.4 kB / 1.217 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.8951, allocations: 7.938 kB / 1.217 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.8951, allocations: 0 / 1.217 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.8951, allocations: 0 / 1.217 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.8954, allocations: 281.4 kB / 1.218 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.8954, allocations: 3.938 kB / 1.218 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.217e-05/0.8955, allocations: 15.92 kB / 1.218 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.8955, allocations: 4 kB / 1.218 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.8955, allocations: 0 / 1.218 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.8955, allocations: 0 / 1.218 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.8955, allocations: 0 / 1.218 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/0.8959, allocations: 251.4 kB / 1.218 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.653e-05/0.8959, allocations: 97 kB / 1.218 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.896, allocations: 0 / 1.218 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.735e-05/0.896, allocations: 4 kB / 1.218 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.866e-05/0.8961, allocations: 15.97 kB / 1.218 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.8961, allocations: 12 kB / 1.218 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001088/0.8962, allocations: 128.2 kB / 1.218 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8962, allocations: 0 / 1.218 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003203/0.8965, allocations: 75.84 kB / 1.218 GB, free: 3.227 MB / 0.9356 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.0002147/0.8968, allocations: 119.2 kB / 1.218 GB, free: 3.102 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007469/0.8975, allocations: 0.5564 MB / 1.219 GB, free: 2.508 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.8975, allocations: 0 / 1.219 GB, free: 2.508 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.8977, allocations: 103.9 kB / 1.219 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.898, allocations: 40.34 kB / 1.219 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007356/0.8988, allocations: 401.7 kB / 1.219 GB, free: 1.941 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/0.8992, allocations: 0.7512 MB / 1.22 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.112e-05/0.8992, allocations: 19.44 kB / 1.22 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of SimCode: time 2.8e-07/0.8992, allocations: 0 / 1.22 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of Templates: time 0.005783/0.905, allocations: 3.272 MB / 1.223 GB, free: 13.89 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Controls_Validation_MultipleCommands.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches