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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.00157/0.00157, allocations: 116.4 kB / 16.42 MB, free: 6.512 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.001855/0.001855, allocations: 190.5 kB / 17.35 MB, free: 5.75 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.284/1.284, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.551/2.551, allocations: 472.7 MB / 0.746 GB, free: 400 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 67.89 kB / 1.07 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6782/0.6796, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.001764/0.6814, allocations: 0.8209 MB / 1.227 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.6826, allocations: 1.171 MB / 1.228 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.366e-05/0.6827, allocations: 0 / 1.228 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.6828, allocations: 15.86 kB / 1.228 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.877e-05/0.6829, allocations: 15.86 kB / 1.228 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004321/0.6833, allocations: 150.6 kB / 1.228 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000372/0.6837, allocations: 363.4 kB / 1.229 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/0.6839, allocations: 114.5 kB / 1.229 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.6841, allocations: 151.7 kB / 1.229 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002022/0.6843, allocations: 143.6 kB / 1.229 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.89e-05/0.6843, allocations: 32 kB / 1.229 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.6845, allocations: 51.97 kB / 1.229 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.234e-05/0.6845, allocations: 47.84 kB / 1.229 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.6847, allocations: 135.5 kB / 1.229 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003746/0.6851, allocations: 399.3 kB / 1.23 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.6851, allocations: 4 kB / 1.23 GB, free: 9.941 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6851, allocations: 0 / 1.23 GB, free: 9.941 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.6851, allocations: 0 / 1.23 GB, free: 9.941 MB / 0.9512 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.0006984/0.6858, allocations: 0.5855 MB / 1.23 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.6858, allocations: 19.91 kB / 1.23 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.616e-05/0.6859, allocations: 28.8 kB / 1.23 GB, free: 9.238 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.6863, allocations: 272.7 kB / 1.231 GB, free: 8.93 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.519e-05/0.6863, allocations: 24.36 kB / 1.231 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.775e-05/0.6864, allocations: 24.38 kB / 1.231 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.6866, allocations: 182.1 kB / 1.231 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.6867, allocations: 192 / 1.231 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.6867, allocations: 7.938 kB / 1.231 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.6867, allocations: 4 kB / 1.231 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002147/0.6869, allocations: 151.8 kB / 1.231 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008486/0.6878, allocations: 0.6563 MB / 1.232 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.688, allocations: 134.4 kB / 1.232 GB, free: 7.691 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.928e-05/0.6881, allocations: 72.81 kB / 1.232 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.6881, allocations: 7.922 kB / 1.232 GB, free: 7.609 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002152/0.6883, allocations: 173.5 kB / 1.232 GB, free: 7.43 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.6883, allocations: 0 / 1.232 GB, free: 7.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.0004738/0.6888, allocations: 305.5 kB / 1.232 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.6888, allocations: 59.39 kB / 1.232 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.689, allocations: 186.3 kB / 1.233 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.416e-05/0.6891, allocations: 41.69 kB / 1.233 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.6892, allocations: 132.5 kB / 1.233 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.6892, allocations: 39.67 kB / 1.233 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.6894, allocations: 81.67 kB / 1.233 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.066e-05/0.6894, allocations: 330.8 kB / 1.233 GB, free: 6.227 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003375/0.6898, allocations: 227.8 kB / 1.233 GB, free: 6.004 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003594/0.6902, allocations: 275.9 kB / 1.234 GB, free: 5.711 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004272/0.6906, allocations: 397.3 kB / 1.234 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6906, allocations: 0 / 1.234 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008753/0.6915, allocations: 0.6272 MB / 1.235 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.111e-05/0.6916, allocations: 101.1 kB / 1.235 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.6916, allocations: 0 / 1.235 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.6916, allocations: 4 kB / 1.235 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.475e-05/0.6917, allocations: 19.88 kB / 1.235 GB, free: 4.488 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.6917, allocations: 7.984 kB / 1.235 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004927/0.6922, allocations: 103.8 kB / 1.235 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.822e-05/0.6923, allocations: 19.98 kB / 1.235 GB, free: 4.359 MB / 0.9512 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.0001476/0.6924, allocations: 163.2 kB / 1.235 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.6924, allocations: 27.78 kB / 1.235 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003405/0.6928, allocations: 227.4 kB / 1.235 GB, free: 3.93 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.6928, allocations: 0 / 1.235 GB, free: 3.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.6928, allocations: 7.938 kB / 1.235 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.6928, allocations: 89.02 kB / 1.235 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.6929, allocations: 12 kB / 1.235 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.685e-05/0.6929, allocations: 3.984 kB / 1.235 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.693, allocations: 15.98 kB / 1.235 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003388/0.6933, allocations: 307 kB / 1.236 GB, free: 3.48 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003224/0.6937, allocations: 386.6 kB / 1.236 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001135/0.6938, allocations: 98.12 kB / 1.236 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.401e-05/0.6939, allocations: 140.2 kB / 1.236 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of Backend: time 3.4e-07/0.6939, allocations: 0 / 1.236 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008538/0.6948, allocations: 0.5683 MB / 1.237 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0006708/0.6954, allocations: 0.7711 MB / 1.238 GB, free: 1.426 MB / 0.9512 GB Notification: Performance of Templates: time 0.006406/0.7019, allocations: 4.004 MB / 1.242 GB, free: 13.45 MB / 0.9669 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