Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001869/0.001869, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002271/0.002271, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.56/1.56, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.693/2.693, allocations: 359.1 MB / 0.6044 GB, free: 14.93 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.1.|conCom.y1.2.|conCom.y1.3.|conCom.y1One|conCom.nUniOn|conCom.nUniOnBou",fileNamePrefix="Buildings_11_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_11_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.003636/0.003636, allocations: 70.25 kB / 0.9515 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3702, allocations: 169.9 MB / 1.117 GB, free: 2.648 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.00251/0.3727, allocations: 0.8025 MB / 1.118 GB, free: 1.844 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002024/0.3747, allocations: 1.191 MB / 1.119 GB, free: 0.6406 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.3748, allocations: 3.938 kB / 1.119 GB, free: 0.6367 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.375, allocations: 15.86 kB / 1.119 GB, free: 0.6211 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001417/0.3751, allocations: 15.91 kB / 1.119 GB, free: 0.6055 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006112/0.3757, allocations: 148.4 kB / 1.12 GB, free: 476 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004978/0.3762, allocations: 351.4 kB / 1.12 GB, free: 124 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/0.3764, allocations: 58.88 kB / 1.12 GB, free: 68 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002403/0.3766, allocations: 155.7 kB / 1.12 GB, free: 15.91 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003571/0.377, allocations: 155.6 kB / 1.12 GB, free: 15.76 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.816e-05/0.3771, allocations: 32 kB / 1.12 GB, free: 15.73 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.3772, allocations: 55.91 kB / 1.12 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.288e-05/0.3773, allocations: 43.86 kB / 1.12 GB, free: 15.63 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002067/0.3775, allocations: 127.6 kB / 1.12 GB, free: 15.51 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005636/0.3781, allocations: 398.8 kB / 1.121 GB, free: 15.12 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3781, allocations: 0 / 1.121 GB, free: 15.12 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.734e-06/0.3781, allocations: 0 / 1.121 GB, free: 15.12 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.302e-05/0.3781, allocations: 0 / 1.121 GB, free: 15.12 MB / 1.076 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.00108/0.3792, allocations: 0.5025 MB / 1.121 GB, free: 14.56 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3792, allocations: 12.03 kB / 1.121 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.3793, allocations: 24.84 kB / 1.121 GB, free: 14.53 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000444/0.3798, allocations: 222.9 kB / 1.122 GB, free: 14.28 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/0.3798, allocations: 24.36 kB / 1.122 GB, free: 14.26 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.413e-05/0.3799, allocations: 24.38 kB / 1.122 GB, free: 14.23 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.3803, allocations: 190.8 kB / 1.122 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3803, allocations: 192 / 1.122 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.3803, allocations: 7.938 kB / 1.122 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.3803, allocations: 4 kB / 1.122 GB, free: 14.03 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000252/0.3805, allocations: 147.9 kB / 1.122 GB, free: 13.89 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.3816, allocations: 0.5388 MB / 1.123 GB, free: 13.32 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.3818, allocations: 126.4 kB / 1.123 GB, free: 13.18 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.3819, allocations: 72.8 kB / 1.123 GB, free: 13.11 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.3819, allocations: 0 / 1.123 GB, free: 13.11 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002677/0.3822, allocations: 175.2 kB / 1.123 GB, free: 12.93 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.3822, allocations: 0 / 1.123 GB, free: 12.93 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.0005634/0.3828, allocations: 304 kB / 1.123 GB, free: 12.62 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.3828, allocations: 59.41 kB / 1.123 GB, free: 12.55 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.383, allocations: 190.1 kB / 1.123 GB, free: 12.36 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.054e-05/0.3831, allocations: 37.7 kB / 1.123 GB, free: 12.32 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.3832, allocations: 136.4 kB / 1.124 GB, free: 12.18 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.151e-05/0.3832, allocations: 47.64 kB / 1.124 GB, free: 12.13 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.3834, allocations: 85.66 kB / 1.124 GB, free: 12.04 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3835, allocations: 326.8 kB / 1.124 GB, free: 11.71 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004453/0.384, allocations: 324.8 kB / 1.124 GB, free: 11.38 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004868/0.3845, allocations: 381 kB / 1.125 GB, free: 10.96 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005225/0.385, allocations: 391.7 kB / 1.125 GB, free: 10.54 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.385, allocations: 0 / 1.125 GB, free: 10.54 MB / 1.076 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001113/0.3861, allocations: 0.7355 MB / 1.126 GB, free: 9.762 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 8.85e-05/0.3862, allocations: 97.08 kB / 1.126 GB, free: 9.648 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.3862, allocations: 8 kB / 1.126 GB, free: 9.641 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.3862, allocations: 7.938 kB / 1.126 GB, free: 9.633 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.3863, allocations: 20.16 kB / 1.126 GB, free: 9.613 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.3864, allocations: 7.984 kB / 1.126 GB, free: 9.605 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005482/0.3869, allocations: 99.77 kB / 1.126 GB, free: 9.508 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.812e-05/0.387, allocations: 23.98 kB / 1.126 GB, free: 9.484 MB / 1.076 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.0001974/0.3872, allocations: 169.7 kB / 1.126 GB, free: 9.309 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.3872, allocations: 23.83 kB / 1.126 GB, free: 9.285 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003927/0.3876, allocations: 231.3 kB / 1.126 GB, free: 9.055 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.3876, allocations: 4 kB / 1.126 GB, free: 9.051 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3876, allocations: 0 / 1.126 GB, free: 9.051 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3876, allocations: 0 / 1.126 GB, free: 9.051 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.3878, allocations: 189.2 kB / 1.127 GB, free: 8.836 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.3878, allocations: 0 / 1.127 GB, free: 8.836 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.742e-05/0.3879, allocations: 15.92 kB / 1.127 GB, free: 8.82 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.3879, allocations: 11.88 kB / 1.127 GB, free: 8.809 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.3879, allocations: 4 kB / 1.127 GB, free: 8.805 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3879, allocations: 4 kB / 1.127 GB, free: 8.801 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3879, allocations: 0 / 1.127 GB, free: 8.801 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003542/0.3883, allocations: 248.8 kB / 1.127 GB, free: 8.539 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.163e-05/0.3883, allocations: 11.91 kB / 1.127 GB, free: 8.527 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.3883, allocations: 11.94 kB / 1.127 GB, free: 8.516 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.636e-05/0.3884, allocations: 3.984 kB / 1.127 GB, free: 8.512 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.3884, allocations: 15.98 kB / 1.127 GB, free: 8.496 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.3884, allocations: 4 kB / 1.127 GB, free: 8.492 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001258/0.3886, allocations: 144.2 kB / 1.127 GB, free: 8.352 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3886, allocations: 0 / 1.127 GB, free: 8.352 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003157/0.3889, allocations: 67.89 kB / 1.127 GB, free: 8.285 MB / 1.076 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.0001622/0.389, allocations: 115.2 kB / 1.127 GB, free: 8.16 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0009271/0.39, allocations: 0.6195 MB / 1.128 GB, free: 7.488 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.39, allocations: 0 / 1.128 GB, free: 7.488 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.3901, allocations: 83.94 kB / 1.128 GB, free: 7.406 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.3904, allocations: 44.33 kB / 1.128 GB, free: 7.363 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007003/0.3911, allocations: 395.9 kB / 1.128 GB, free: 6.949 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/0.3913, allocations: 136.1 kB / 1.128 GB, free: 6.797 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.967e-05/0.3914, allocations: 29.48 kB / 1.128 GB, free: 6.77 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.089e-05/0.3914, allocations: 16.5 kB / 1.129 GB, free: 6.754 MB / 1.076 GB Notification: Performance of SimCode: time 4.71e-07/0.3914, allocations: 0 / 1.129 GB, free: 6.754 MB / 1.076 GB Notification: Performance of Templates: time 0.008898/0.4003, allocations: 4.054 MB / 1.132 GB, free: 2.785 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & ./Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Components_Controls_Validation_MultipleCommands.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.190210992004722]