Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001903/0.001903, 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.002687/0.002687, allocations: 159.3 kB / 23.01 MB, free: 4.598 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.575/1.575, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.928/2.928, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002325/0.002325, allocations: 60.19 kB / 0.9819 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.123/1.126, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002134/1.128, allocations: 0.8079 MB / 1.155 GB, free: 32.8 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001445/1.129, allocations: 1.182 MB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.645e-05/1.129, allocations: 6.812 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001289/1.129, allocations: 14.72 kB / 1.156 GB, free: 31.92 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001116/1.13, allocations: 10.59 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000467/1.13, allocations: 149.6 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003775/1.13, allocations: 347.3 kB / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/1.131, allocations: 71.23 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/1.131, allocations: 150.2 kB / 1.157 GB, free: 31.61 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/1.131, allocations: 160 kB / 1.157 GB, free: 31.54 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.551e-05/1.131, allocations: 33.5 kB / 1.157 GB, free: 31.54 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/1.131, allocations: 38.66 kB / 1.157 GB, free: 31.54 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.684e-05/1.131, allocations: 50.62 kB / 1.157 GB, free: 31.51 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001448/1.131, allocations: 123.2 kB / 1.157 GB, free: 31.45 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003886/1.132, allocations: 398.9 kB / 1.157 GB, free: 31.32 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/1.132, allocations: 0 / 1.157 GB, free: 31.32 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.493e-06/1.132, allocations: 0 / 1.157 GB, free: 31.32 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.68e-06/1.132, allocations: 2.656 kB / 1.157 GB, free: 31.32 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.0007856/1.133, allocations: 0.5095 MB / 1.158 GB, free: 30.88 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/1.133, allocations: 8.875 kB / 1.158 GB, free: 30.88 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.248e-05/1.133, allocations: 29.73 kB / 1.158 GB, free: 30.87 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003548/1.133, allocations: 225.8 kB / 1.158 GB, free: 30.7 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.776e-05/1.133, allocations: 18.16 kB / 1.158 GB, free: 30.7 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.238e-05/1.133, allocations: 24.19 kB / 1.158 GB, free: 30.69 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/1.133, allocations: 183.2 kB / 1.158 GB, free: 30.61 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/1.133, allocations: 192 / 1.158 GB, free: 30.61 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/1.133, allocations: 7.938 kB / 1.158 GB, free: 30.61 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/1.134, allocations: 2.906 kB / 1.158 GB, free: 30.61 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002114/1.134, allocations: 156.4 kB / 1.158 GB, free: 30.55 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008111/1.135, allocations: 0.5372 MB / 1.159 GB, free: 30.23 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/1.135, allocations: 120.9 kB / 1.159 GB, free: 30.18 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/1.135, allocations: 72 kB / 1.159 GB, free: 30.15 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/1.135, allocations: 2.75 kB / 1.159 GB, free: 30.15 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002161/1.135, allocations: 182.2 kB / 1.159 GB, free: 30.07 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/1.135, allocations: 4 kB / 1.159 GB, free: 30.06 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.0004721/1.136, allocations: 302.7 kB / 1.16 GB, free: 29.95 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/1.136, allocations: 57.5 kB / 1.16 GB, free: 29.89 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/1.136, allocations: 198.7 kB / 1.16 GB, free: 29.75 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/1.136, allocations: 34.98 kB / 1.16 GB, free: 29.72 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.393e-05/1.136, allocations: 134.2 kB / 1.16 GB, free: 29.61 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/1.136, allocations: 44.72 kB / 1.16 GB, free: 29.57 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/1.136, allocations: 83.38 kB / 1.16 GB, free: 29.54 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.705e-05/1.136, allocations: 331.9 kB / 1.16 GB, free: 29.22 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/1.136, allocations: 320.2 kB / 1.161 GB, free: 29.06 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/1.137, allocations: 385.5 kB / 1.161 GB, free: 28.83 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003693/1.137, allocations: 391.2 kB / 1.162 GB, free: 28.59 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/1.137, allocations: 2.188 kB / 1.162 GB, free: 28.59 MB / 1.076 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008325/1.138, allocations: 0.7382 MB / 1.162 GB, free: 28.21 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.021e-05/1.138, allocations: 102 kB / 1.162 GB, free: 28.11 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/1.138, allocations: 0 / 1.162 GB, free: 28.11 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/1.138, allocations: 2.938 kB / 1.162 GB, free: 28.11 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/1.138, allocations: 21.91 kB / 1.162 GB, free: 28.11 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/1.138, allocations: 2.844 kB / 1.162 GB, free: 28.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005034/1.139, allocations: 106.9 kB / 1.162 GB, free: 28.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.611e-05/1.139, allocations: 21.97 kB / 1.162 GB, free: 28.09 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.000142/1.139, allocations: 165.8 kB / 1.163 GB, free: 27.95 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/1.139, allocations: 20.89 kB / 1.163 GB, free: 27.94 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003424/1.139, allocations: 231.6 kB / 1.163 GB, free: 27.84 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/1.139, allocations: 6.828 kB / 1.163 GB, free: 27.84 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/1.139, allocations: 0 / 1.163 GB, free: 27.84 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/1.139, allocations: 7.422 kB / 1.163 GB, free: 27.83 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/1.139, allocations: 188.1 kB / 1.163 GB, free: 27.68 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/1.139, allocations: 0 / 1.163 GB, free: 27.68 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.929e-05/1.139, allocations: 18.66 kB / 1.163 GB, free: 27.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.299e-06/1.139, allocations: 3.938 kB / 1.163 GB, free: 27.67 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/1.139, allocations: 2.75 kB / 1.163 GB, free: 27.67 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/1.139, allocations: 0 / 1.163 GB, free: 27.67 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.139, allocations: 0 / 1.163 GB, free: 27.67 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002849/1.14, allocations: 247.4 kB / 1.163 GB, free: 27.55 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.919e-05/1.14, allocations: 22.12 kB / 1.163 GB, free: 27.53 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/1.14, allocations: 9.938 kB / 1.163 GB, free: 27.53 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.554e-05/1.14, allocations: 6.188 kB / 1.163 GB, free: 27.52 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.83e-05/1.14, allocations: 17.38 kB / 1.163 GB, free: 27.52 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/1.14, allocations: 12.64 kB / 1.163 GB, free: 27.52 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.415e-05/1.14, allocations: 127 kB / 1.164 GB, free: 27.43 MB / 1.076 GB Notification: Performance of sort global known variables: time 6.1e-08/1.14, allocations: 0 / 1.164 GB, free: 27.43 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002873/1.14, allocations: 78.44 kB / 1.164 GB, free: 27.41 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.0001355/1.14, allocations: 101 kB / 1.164 GB, free: 27.32 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006613/1.141, allocations: 0.6285 MB / 1.164 GB, free: 26.93 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/1.141, allocations: 3.938 kB / 1.164 GB, free: 26.93 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001199/1.141, allocations: 90.8 kB / 1.164 GB, free: 26.91 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/1.142, allocations: 32.59 kB / 1.164 GB, free: 26.9 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005913/1.142, allocations: 397.4 kB / 1.165 GB, free: 26.67 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/1.142, allocations: 135.3 kB / 1.165 GB, free: 26.58 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.626e-05/1.142, allocations: 26.48 kB / 1.165 GB, free: 26.58 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.192e-05/1.142, allocations: 23.7 kB / 1.165 GB, free: 26.57 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/1.142, allocations: 0 / 1.165 GB, free: 26.57 MB / 1.076 GB Notification: Performance of Templates: time 0.007637/1.15, allocations: 4.047 MB / 1.169 GB, free: 26.13 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & ./Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Components_Controls_Validation_MultipleCommands.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.855641291011125]