Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 190.7 kB / 22.23 MB, free: 5.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.866/2.866, allocations: 496 MB / 0.7835 GB, free: 33.64 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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.Plants.Controls.Utilities.Validation.TrueArrayConditional,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|truArrConSam.u|truArrConSam.uIdx.1.|truArrConSam.uIdx.2.|truArrConSam.y1.1.|truArrConSam.y1.2.|truArrConGre.y1.1.|truArrConGre.y1.2.|truArrConGre.y1.3.|truArrConGre.y1.4.",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|truArrConSam.u|truArrConSam.uIdx.1.|truArrConSam.uIdx.2.|truArrConSam.y1.1.|truArrConSam.y1.2.|truArrConGre.y1.1.|truArrConGre.y1.2.|truArrConGre.y1.3.|truArrConGre.y1.4.",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 68.8 kB / 1.138 GB, free: 33.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3413, allocations: 173.6 MB / 1.307 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.002281/0.3436, allocations: 0.9522 MB / 1.308 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00199/0.3456, allocations: 1.427 MB / 1.31 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.933e-05/0.3457, allocations: 0 / 1.31 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000356/0.346, allocations: 63.69 kB / 1.31 GB, free: 15.38 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.376e-05/0.3461, allocations: 67.61 kB / 1.31 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008837/0.347, allocations: 329.2 kB / 1.31 GB, free: 15 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005216/0.3475, allocations: 439.2 kB / 1.31 GB, free: 14.57 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.3477, allocations: 37.73 kB / 1.31 GB, free: 14.53 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.3479, allocations: 175.6 kB / 1.311 GB, free: 14.36 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000305/0.3482, allocations: 171.5 kB / 1.311 GB, free: 14.19 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.441e-05/0.3483, allocations: 36 kB / 1.311 GB, free: 14.16 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.3484, allocations: 71.95 kB / 1.311 GB, free: 14.09 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.3486, allocations: 87.72 kB / 1.311 GB, free: 14 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.3488, allocations: 143.4 kB / 1.311 GB, free: 13.86 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004982/0.3493, allocations: 438.6 kB / 1.312 GB, free: 13.43 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3493, allocations: 0 / 1.312 GB, free: 13.43 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3493, allocations: 0 / 1.312 GB, free: 13.43 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3493, allocations: 0 / 1.312 GB, free: 13.43 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0008871/0.3502, allocations: 0.5858 MB / 1.312 GB, free: 12.79 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.3502, allocations: 8.922 kB / 1.312 GB, free: 12.78 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.3503, allocations: 36.8 kB / 1.312 GB, free: 12.74 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004045/0.3507, allocations: 246.9 kB / 1.312 GB, free: 12.47 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.3507, allocations: 20.31 kB / 1.312 GB, free: 12.45 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-05/0.3508, allocations: 24.38 kB / 1.312 GB, free: 12.43 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003064/0.3511, allocations: 178.1 kB / 1.313 GB, free: 12.25 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.3511, allocations: 4.188 kB / 1.313 GB, free: 12.25 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.3511, allocations: 11.94 kB / 1.313 GB, free: 12.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.3511, allocations: 7.938 kB / 1.313 GB, free: 12.23 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/0.3513, allocations: 127.9 kB / 1.313 GB, free: 12.1 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.3523, allocations: 0.5891 MB / 1.313 GB, free: 11.47 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004062/0.3528, allocations: 202.6 kB / 1.314 GB, free: 11.26 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.3529, allocations: 132.9 kB / 1.314 GB, free: 11.13 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.353, allocations: 0 / 1.314 GB, free: 11.13 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000349/0.3533, allocations: 231.8 kB / 1.314 GB, free: 10.89 MB / 1.014 GB Notification: Performance of pre-optimization done (n=27): time 1.643e-06/0.3533, allocations: 0 / 1.314 GB, free: 10.89 MB / 1.014 GB Notification: Performance of matching and sorting (n=27): time 0.00079/0.3541, allocations: 0.513 MB / 1.314 GB, free: 10.36 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.047e-05/0.3542, allocations: 134.7 kB / 1.315 GB, free: 10.2 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002506/0.3544, allocations: 253.3 kB / 1.315 GB, free: 9.949 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.89e-05/0.3545, allocations: 37.7 kB / 1.315 GB, free: 9.906 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.3546, allocations: 124.7 kB / 1.315 GB, free: 9.781 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.763e-05/0.3547, allocations: 63.52 kB / 1.315 GB, free: 9.719 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.3548, allocations: 105.6 kB / 1.315 GB, free: 9.609 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.355, allocations: 334.8 kB / 1.315 GB, free: 9.273 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002769/0.3553, allocations: 171.7 kB / 1.316 GB, free: 9.105 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003875/0.3556, allocations: 293.6 kB / 1.316 GB, free: 8.77 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005357/0.3562, allocations: 496.1 kB / 1.316 GB, free: 8.215 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3562, allocations: 0 / 1.316 GB, free: 8.215 MB / 1.014 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008448/0.357, allocations: 0.5781 MB / 1.317 GB, free: 7.605 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.3571, allocations: 142.8 kB / 1.317 GB, free: 7.441 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.3571, allocations: 4.312 kB / 1.317 GB, free: 7.438 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.3572, allocations: 8 kB / 1.317 GB, free: 7.43 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.837e-05/0.3573, allocations: 23.92 kB / 1.317 GB, free: 7.406 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.3573, allocations: 11.92 kB / 1.317 GB, free: 7.395 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005367/0.3578, allocations: 87.75 kB / 1.317 GB, free: 7.309 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.036e-05/0.3579, allocations: 23.98 kB / 1.317 GB, free: 7.285 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.truArrConSam.u,$PRE.truArrConGre.u,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,truArrConGre.iIdx,truArrConGre.iTru,truArrConGre.y1[4],truArrConGre.y1[3],truArrConGre.y1[2],truArrConGre.y1[1],truArrConGre.uIdx[2],truArrConGre.uIdx[1],truArrConGre.u,uTru.idx,$PRE.uTru.idx,uTru.y[1],$PRE.uTru.y[1],uIdx2.booPul.y,$PRE.uIdx2.booPul.y,uIdx1.booPul.y,$PRE.uIdx1.booPul.y,truArrConSam.iIdx,truArrConSam.iTru,truArrConSam.y1[2],truArrConSam.y1[1],truArrConSam.uIdx[2],truArrConSam.uIdx[1],truArrConSam.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 4 * 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.0002576/0.3581, allocations: 260.3 kB / 1.317 GB, free: 7.012 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.345e-05/0.3582, allocations: 23.86 kB / 1.317 GB, free: 6.988 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.145e-05/0.3582, allocations: 26.59 kB / 1.317 GB, free: 6.965 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3582, allocations: 0 / 1.317 GB, free: 6.965 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3582, allocations: 3.984 kB / 1.317 GB, free: 6.961 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.3582, allocations: 0 / 1.317 GB, free: 6.961 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.3593, allocations: 0.8173 MB / 1.318 GB, free: 6.078 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3593, allocations: 4 kB / 1.318 GB, free: 6.074 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.57e-05/0.3593, allocations: 15.92 kB / 1.318 GB, free: 6.059 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3593, allocations: 0 / 1.318 GB, free: 6.059 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/0.3594, allocations: 8 kB / 1.318 GB, free: 6.051 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.3594, allocations: 11.94 kB / 1.318 GB, free: 6.039 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3594, allocations: 3.938 kB / 1.318 GB, free: 6.035 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006252/0.36, allocations: 0.5421 MB / 1.319 GB, free: 5.465 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 3.906e-05/0.36, allocations: 27.8 kB / 1.319 GB, free: 5.438 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.334e-05/0.3601, allocations: 19.98 kB / 1.319 GB, free: 5.418 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.3602, allocations: 11.94 kB / 1.319 GB, free: 5.406 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.3603, allocations: 59.88 kB / 1.319 GB, free: 5.348 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.3604, allocations: 8 kB / 1.319 GB, free: 5.34 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001651/0.3605, allocations: 176.5 kB / 1.319 GB, free: 5.168 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3605, allocations: 0 / 1.319 GB, free: 5.168 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003535/0.3609, allocations: 87.92 kB / 1.319 GB, free: 5.082 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 27 (truArrConSam.u,truArrConGre.u,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,truArrConSam.uIdx[1],truArrConSam.uIdx[2],truArrConSam.y1[1],truArrConSam.y1[2],truArrConSam.iTru,truArrConSam.iIdx,uIdx1.booPul.y,uIdx2.booPul.y,uTru.y[1],uTru.idx,truArrConGre.uIdx[1],truArrConGre.uIdx[2],truArrConGre.y1[1],truArrConGre.y1[2],truArrConGre.y1[3],truArrConGre.y1[4],truArrConGre.iTru,truArrConGre.iIdx) * Number of discrete states: 10 (truArrConGre.y1[4],truArrConGre.y1[3],truArrConGre.y1[2],truArrConGre.y1[1],truArrConGre.iIdx,truArrConGre.iTru,truArrConSam.y1[2],truArrConSam.y1[1],truArrConSam.iIdx,truArrConSam.iTru) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 4 * 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.000213/0.3611, allocations: 142 kB / 1.319 GB, free: 4.934 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008162/0.3619, allocations: 0.6165 MB / 1.32 GB, free: 4.27 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3619, allocations: 0 / 1.32 GB, free: 4.27 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003072/0.3622, allocations: 286.6 kB / 1.32 GB, free: 3.965 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.3626, allocations: 56.97 kB / 1.32 GB, free: 3.91 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008014/0.3634, allocations: 0.5091 MB / 1.321 GB, free: 3.375 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.3638, allocations: 0.7441 MB / 1.321 GB, free: 2.605 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.34e-05/0.3639, allocations: 49.84 kB / 1.322 GB, free: 2.555 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.509e-05/0.3639, allocations: 19.44 kB / 1.322 GB, free: 2.535 MB / 1.014 GB Notification: Performance of SimCode: time 2.71e-07/0.3639, allocations: 0 / 1.322 GB, free: 2.535 MB / 1.014 GB Notification: Performance of Templates: time 0.008929/0.3728, allocations: 5 MB / 1.326 GB, free: 13.61 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.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: 8.277243109419942]