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.001494/0.001494, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001537/0.001537, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.531/1.531, allocations: 230.6 MB / 252.8 MB, free: 9.105 MB / 206.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 3.388/3.388, allocations: 0.4899 GB / 0.7915 GB, free: 33.32 MB / 0.6231 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.002148/0.002148, allocations: 74.3 kB / 1.149 GB, free: 26.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4254/0.4275, allocations: 176.1 MB / 1.321 GB, free: 2.812 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002383/0.4299, allocations: 0.8366 MB / 1.322 GB, free: 1.977 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001798/0.4317, allocations: 1.198 MB / 1.323 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.115e-05/0.4318, allocations: 4 kB / 1.323 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.4319, allocations: 15.8 kB / 1.323 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.432, allocations: 19.84 kB / 1.323 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005175/0.4326, allocations: 148.6 kB / 1.323 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005149/0.4331, allocations: 347.4 kB / 1.324 GB, free: 252 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002257/0.4333, allocations: 82.52 kB / 1.324 GB, free: 168 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001845/0.4335, allocations: 155.7 kB / 1.324 GB, free: 12 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002751/0.4338, allocations: 151.5 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.874e-05/0.4338, allocations: 32 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.4339, allocations: 44 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.146e-05/0.434, allocations: 47.84 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001855/0.4342, allocations: 135.5 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004805/0.4347, allocations: 394.8 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.896e-06/0.4347, allocations: 7.984 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4347, allocations: 0 / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.884e-06/0.4347, allocations: 0 / 1.325 GB, free: 15.21 MB / 1.029 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.0009697/0.4357, allocations: 0.5856 MB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.4357, allocations: 8.031 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.4358, allocations: 24.84 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004223/0.4362, allocations: 281.7 kB / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.405e-05/0.4363, allocations: 16.36 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.161e-05/0.4364, allocations: 28.38 kB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003347/0.4367, allocations: 178.1 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.4367, allocations: 4.188 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.4367, allocations: 11.92 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.4367, allocations: 4 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002542/0.437, allocations: 143.9 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.438, allocations: 0.6562 MB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.4382, allocations: 118.5 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.4383, allocations: 76.8 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.4384, allocations: 7.938 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002665/0.4386, allocations: 175.3 kB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.4386, allocations: 0 / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.000552/0.4392, allocations: 296.5 kB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/0.4392, allocations: 63.33 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.4395, allocations: 202.2 kB / 1.328 GB, free: 12.15 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.371e-05/0.4395, allocations: 37.7 kB / 1.328 GB, free: 12.11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.4396, allocations: 124.5 kB / 1.328 GB, free: 11.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.527e-05/0.4397, allocations: 47.62 kB / 1.328 GB, free: 11.94 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/0.4398, allocations: 81.67 kB / 1.328 GB, free: 11.85 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.44, allocations: 334.8 kB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003817/0.4404, allocations: 219.8 kB / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004342/0.4408, allocations: 284.1 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000561/0.4414, allocations: 405 kB / 1.329 GB, free: 10.56 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.4414, allocations: 0 / 1.329 GB, free: 10.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001036/0.4424, allocations: 0.6403 MB / 1.33 GB, free: 9.898 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.4425, allocations: 93.09 kB / 1.33 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.4425, allocations: 4.219 kB / 1.33 GB, free: 9.785 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.4426, allocations: 4 kB / 1.33 GB, free: 9.781 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.4427, allocations: 19.98 kB / 1.33 GB, free: 9.762 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.4427, allocations: 4 kB / 1.33 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005291/0.4432, allocations: 99.77 kB / 1.33 GB, free: 9.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.106e-05/0.4433, allocations: 19.98 kB / 1.33 GB, free: 9.641 MB / 1.029 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.0002088/0.4435, allocations: 180.1 kB / 1.33 GB, free: 9.457 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.4435, allocations: 15.84 kB / 1.33 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004264/0.4439, allocations: 235.4 kB / 1.33 GB, free: 9.203 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4439, allocations: 0 / 1.33 GB, free: 9.203 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.4439, allocations: 0 / 1.33 GB, free: 9.203 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.4439, allocations: 0 / 1.33 GB, free: 9.203 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003285/0.4443, allocations: 277.4 kB / 1.331 GB, free: 8.883 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4443, allocations: 4 kB / 1.331 GB, free: 8.879 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.026e-05/0.4443, allocations: 12 kB / 1.331 GB, free: 8.867 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4444, allocations: 0 / 1.331 GB, free: 8.867 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.4444, allocations: 3.984 kB / 1.331 GB, free: 8.863 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.4444, allocations: 4 kB / 1.331 GB, free: 8.859 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.4444, allocations: 3.984 kB / 1.331 GB, free: 8.855 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003695/0.4447, allocations: 248.8 kB / 1.331 GB, free: 8.594 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.364e-05/0.4448, allocations: 96.94 kB / 1.331 GB, free: 8.48 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.4448, allocations: 0 / 1.331 GB, free: 8.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.279e-05/0.4449, allocations: 8 kB / 1.331 GB, free: 8.473 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.998e-05/0.445, allocations: 19.97 kB / 1.331 GB, free: 8.453 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.445, allocations: 8 kB / 1.331 GB, free: 8.445 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001223/0.4451, allocations: 127.2 kB / 1.331 GB, free: 8.32 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4451, allocations: 0 / 1.331 GB, free: 8.32 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003075/0.4454, allocations: 71.89 kB / 1.331 GB, free: 8.25 MB / 1.029 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.0001873/0.4456, allocations: 113.1 kB / 1.331 GB, free: 8.133 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007696/0.4464, allocations: 0.5251 MB / 1.332 GB, free: 7.57 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.4464, allocations: 0 / 1.332 GB, free: 7.57 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.4465, allocations: 91.86 kB / 1.332 GB, free: 7.48 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.4468, allocations: 35.91 kB / 1.332 GB, free: 7.445 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000717/0.4475, allocations: 396 kB / 1.332 GB, free: 7.027 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/0.4479, allocations: 0.7435 MB / 1.333 GB, free: 6.254 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.298e-05/0.448, allocations: 29.41 kB / 1.333 GB, free: 6.223 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.448, allocations: 15.44 kB / 1.333 GB, free: 6.207 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.448, allocations: 4 kB / 1.333 GB, free: 6.203 MB / 1.029 GB Notification: Performance of Templates: time 0.007689/0.4557, allocations: 3.771 MB / 1.337 GB, free: 2.473 MB / 1.029 GB " [Timeout remaining time 300] 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 -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/jenkins/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.444569821003824]