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.001392/0.001392, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001502/0.001502, allocations: 209.3 kB / 22.24 MB, free: 5.262 MB / 14.72 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.519/1.519, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 3.515/3.515, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.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=2500,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") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002369/0.002369, allocations: 74.22 kB / 1.186 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3855, allocations: 181.9 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002239/0.3878, allocations: 0.8326 MB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001815/0.3896, allocations: 1.179 MB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.449e-05/0.3897, allocations: 4 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001415/0.3898, allocations: 15.86 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.3899, allocations: 19.86 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005126/0.3905, allocations: 153.4 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004511/0.3909, allocations: 343.4 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.3911, allocations: 62.73 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.3913, allocations: 155.7 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002849/0.3916, allocations: 163.6 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.934e-05/0.3916, allocations: 32 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.3918, allocations: 44 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.851e-05/0.3918, allocations: 43.84 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.392, allocations: 119.7 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004889/0.3925, allocations: 398.8 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3925, allocations: 0 / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3925, allocations: 4 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.3925, allocations: 0 / 1.367 GB, free: 10.05 MB / 1.061 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.0009089/0.3934, allocations: 0.512 MB / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.3934, allocations: 8.031 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.432e-05/0.3935, allocations: 36.8 kB / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004963/0.394, allocations: 230.9 kB / 1.368 GB, free: 9.191 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.785e-05/0.3941, allocations: 16.38 kB / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.681e-05/0.3941, allocations: 24.38 kB / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003259/0.3945, allocations: 186.5 kB / 1.368 GB, free: 8.965 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.3945, allocations: 192 / 1.368 GB, free: 8.965 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.3945, allocations: 15.94 kB / 1.368 GB, free: 8.949 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.3945, allocations: 0 / 1.368 GB, free: 8.949 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000247/0.3948, allocations: 151.9 kB / 1.368 GB, free: 8.801 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009947/0.3957, allocations: 0.5311 MB / 1.369 GB, free: 8.238 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.396, allocations: 130.5 kB / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.3961, allocations: 61 kB / 1.369 GB, free: 8.039 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.3961, allocations: 11.92 kB / 1.369 GB, free: 8.027 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002725/0.3964, allocations: 179.2 kB / 1.369 GB, free: 7.84 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.3964, allocations: 0 / 1.369 GB, free: 7.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0005734/0.397, allocations: 297.4 kB / 1.37 GB, free: 7.543 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.397, allocations: 63.33 kB / 1.37 GB, free: 7.469 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.3972, allocations: 182.5 kB / 1.37 GB, free: 7.281 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.612e-05/0.3973, allocations: 41.69 kB / 1.37 GB, free: 7.234 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.3974, allocations: 128.4 kB / 1.37 GB, free: 7.105 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.887e-05/0.3974, allocations: 47.67 kB / 1.37 GB, free: 7.059 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.3976, allocations: 81.67 kB / 1.37 GB, free: 6.973 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.3978, allocations: 330.8 kB / 1.37 GB, free: 6.641 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004673/0.3983, allocations: 320.9 kB / 1.371 GB, free: 6.309 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005161/0.3988, allocations: 380.8 kB / 1.371 GB, free: 5.895 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005297/0.3993, allocations: 397.8 kB / 1.371 GB, free: 5.465 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3993, allocations: 4 kB / 1.371 GB, free: 5.461 MB / 1.061 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001091/0.4004, allocations: 0.7374 MB / 1.372 GB, free: 4.68 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.283e-05/0.4005, allocations: 97.09 kB / 1.372 GB, free: 4.566 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4005, allocations: 0 / 1.372 GB, free: 4.566 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.4005, allocations: 4 kB / 1.372 GB, free: 4.562 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.4006, allocations: 15.98 kB / 1.372 GB, free: 4.547 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.4007, allocations: 7.938 kB / 1.372 GB, free: 4.539 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005278/0.4012, allocations: 112 kB / 1.372 GB, free: 4.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.633e-05/0.4012, allocations: 15.98 kB / 1.372 GB, free: 4.414 MB / 1.061 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.0001976/0.4014, allocations: 164 kB / 1.373 GB, free: 4.246 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.683e-05/0.4015, allocations: 23.84 kB / 1.373 GB, free: 4.223 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004195/0.4019, allocations: 237.8 kB / 1.373 GB, free: 3.98 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.4019, allocations: 0 / 1.373 GB, free: 3.98 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4019, allocations: 4 kB / 1.373 GB, free: 3.977 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4019, allocations: 0 / 1.373 GB, free: 3.977 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.4021, allocations: 197.2 kB / 1.373 GB, free: 3.754 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.4022, allocations: 3.984 kB / 1.373 GB, free: 3.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.293e-05/0.4022, allocations: 8 kB / 1.373 GB, free: 3.742 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.4022, allocations: 7.875 kB / 1.373 GB, free: 3.734 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/0.4022, allocations: 15.98 kB / 1.373 GB, free: 3.719 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4022, allocations: 0 / 1.373 GB, free: 3.719 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4022, allocations: 0 / 1.373 GB, free: 3.719 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.4026, allocations: 248.8 kB / 1.373 GB, free: 3.457 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.365e-05/0.4027, allocations: 15.91 kB / 1.373 GB, free: 3.441 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/0.4027, allocations: 11.92 kB / 1.373 GB, free: 3.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.754e-05/0.4027, allocations: 4 kB / 1.373 GB, free: 3.426 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.676e-05/0.4028, allocations: 15.97 kB / 1.373 GB, free: 3.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.4028, allocations: 8 kB / 1.373 GB, free: 3.402 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001261/0.4029, allocations: 136.2 kB / 1.373 GB, free: 3.27 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4029, allocations: 0 / 1.373 GB, free: 3.27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003075/0.4033, allocations: 67.89 kB / 1.374 GB, free: 3.203 MB / 1.061 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.0001619/0.4034, allocations: 111.2 kB / 1.374 GB, free: 3.086 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008731/0.4043, allocations: 0.62 MB / 1.374 GB, free: 2.41 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.4043, allocations: 4 kB / 1.374 GB, free: 2.406 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.4044, allocations: 89.97 kB / 1.374 GB, free: 2.32 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.4047, allocations: 35.97 kB / 1.374 GB, free: 2.285 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007104/0.4055, allocations: 388 kB / 1.375 GB, free: 1.883 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/0.4056, allocations: 139.9 kB / 1.375 GB, free: 1.727 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.056e-05/0.4057, allocations: 29.41 kB / 1.375 GB, free: 1.695 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.176e-05/0.4057, allocations: 15.44 kB / 1.375 GB, free: 1.68 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.4057, allocations: 0 / 1.375 GB, free: 1.68 MB / 1.061 GB Notification: Performance of Templates: time 0.008495/0.4142, allocations: 4.164 MB / 1.379 GB, free: 13.59 MB / 1.076 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 800] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.656349977478385]