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.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.001881/0.001881, allocations: 81.55 kB / 19.76 MB, free: 2.027 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.00243/0.00243, allocations: 158.9 kB / 23.01 MB, free: 4.945 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.582/1.582, allocations: 177.2 MB / 203.4 MB, free: 8.938 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.799/2.799, 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.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: 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.002305/0.002305, allocations: 64.19 kB / 0.9819 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039/1.041, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.001982/1.043, allocations: 0.9173 MB / 1.155 GB, free: 32.74 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001566/1.045, allocations: 1.415 MB / 1.156 GB, free: 31.72 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.445e-05/1.045, allocations: 10.56 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0003427/1.045, allocations: 66.08 kB / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.24e-05/1.045, allocations: 57.95 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000769/1.046, allocations: 329.5 kB / 1.157 GB, free: 31.49 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004275/1.046, allocations: 445.9 kB / 1.157 GB, free: 31.29 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/1.047, allocations: 31.05 kB / 1.157 GB, free: 31.27 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/1.047, allocations: 172.2 kB / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/1.047, allocations: 158.6 kB / 1.157 GB, free: 31.14 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.869e-05/1.047, allocations: 35 kB / 1.157 GB, free: 31.14 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/1.047, allocations: 69.92 kB / 1.157 GB, free: 31.13 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001283/1.047, allocations: 82.86 kB / 1.158 GB, free: 31.1 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001419/1.047, allocations: 128.7 kB / 1.158 GB, free: 31.03 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004096/1.048, allocations: 440.3 kB / 1.158 GB, free: 30.89 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/1.048, allocations: 0 / 1.158 GB, free: 30.89 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.653e-06/1.048, allocations: 4 kB / 1.158 GB, free: 30.88 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.825e-06/1.048, allocations: 0 / 1.158 GB, free: 30.88 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0008339/1.049, allocations: 0.5827 MB / 1.159 GB, free: 30.38 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/1.049, allocations: 11.44 kB / 1.159 GB, free: 30.38 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.449e-05/1.049, allocations: 29.55 kB / 1.159 GB, free: 30.36 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/1.049, allocations: 247 kB / 1.159 GB, free: 30.17 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/1.049, allocations: 12.97 kB / 1.159 GB, free: 30.17 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.977e-05/1.049, allocations: 24.44 kB / 1.159 GB, free: 30.16 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003195/1.05, allocations: 267.5 kB / 1.159 GB, free: 30.02 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/1.05, allocations: 4.188 kB / 1.159 GB, free: 30.02 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/1.05, allocations: 10.59 kB / 1.159 GB, free: 30.01 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/1.05, allocations: 2.781 kB / 1.159 GB, free: 30.01 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00021/1.05, allocations: 209.4 kB / 1.159 GB, free: 29.9 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007882/1.051, allocations: 0.4947 MB / 1.16 GB, free: 29.57 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003895/1.051, allocations: 280.8 kB / 1.16 GB, free: 29.43 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/1.051, allocations: 215.9 kB / 1.16 GB, free: 29.31 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/1.051, allocations: 0 / 1.16 GB, free: 29.31 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003141/1.052, allocations: 325.2 kB / 1.161 GB, free: 29.13 MB / 1.076 GB Notification: Performance of pre-optimization done (n=27): time 1.623e-06/1.052, allocations: 2.875 kB / 1.161 GB, free: 29.13 MB / 1.076 GB Notification: Performance of matching and sorting (n=27): time 0.0007495/1.052, allocations: 0.6958 MB / 1.161 GB, free: 28.76 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/1.052, allocations: 119.4 kB / 1.162 GB, free: 28.63 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/1.053, allocations: 259.3 kB / 1.162 GB, free: 28.48 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/1.053, allocations: 38.23 kB / 1.162 GB, free: 28.45 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.857e-05/1.053, allocations: 127.1 kB / 1.162 GB, free: 28.34 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/1.053, allocations: 58.19 kB / 1.162 GB, free: 28.29 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/1.053, allocations: 101.5 kB / 1.162 GB, free: 28.25 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.339e-05/1.053, allocations: 338.4 kB / 1.162 GB, free: 27.93 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/1.053, allocations: 319.6 kB / 1.163 GB, free: 27.73 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/1.054, allocations: 0.5632 MB / 1.163 GB, free: 27.24 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004364/1.054, allocations: 0.5184 MB / 1.164 GB, free: 26.85 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/1.054, allocations: 0 / 1.164 GB, free: 26.85 MB / 1.076 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007609/1.055, allocations: 0.7535 MB / 1.165 GB, free: 26.38 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.195e-05/1.055, allocations: 135.5 kB / 1.165 GB, free: 26.25 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/1.055, allocations: 2.875 kB / 1.165 GB, free: 26.25 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/1.055, allocations: 2.969 kB / 1.165 GB, free: 26.25 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.693e-05/1.055, allocations: 30.66 kB / 1.165 GB, free: 26.24 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/1.055, allocations: 9.094 kB / 1.165 GB, free: 26.24 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005283/1.055, allocations: 81.28 kB / 1.165 GB, free: 26.22 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.816e-05/1.056, allocations: 24.92 kB / 1.165 GB, free: 26.22 MB / 1.076 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.0001776/1.056, allocations: 254.8 kB / 1.165 GB, free: 26 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/1.056, allocations: 25.61 kB / 1.165 GB, free: 25.99 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.132e-05/1.056, allocations: 23.41 kB / 1.165 GB, free: 25.98 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/1.056, allocations: 2.594 kB / 1.165 GB, free: 25.98 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.056, allocations: 0 / 1.165 GB, free: 25.98 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.056, allocations: 0 / 1.165 GB, free: 25.98 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008747/1.057, allocations: 0.8619 MB / 1.166 GB, free: 25.44 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.057, allocations: 0 / 1.166 GB, free: 25.44 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.486e-05/1.057, allocations: 25.59 kB / 1.166 GB, free: 25.43 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/1.057, allocations: 0 / 1.166 GB, free: 25.43 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/1.057, allocations: 11.25 kB / 1.166 GB, free: 25.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/1.057, allocations: 4 kB / 1.166 GB, free: 25.43 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/1.057, allocations: 0 / 1.166 GB, free: 25.43 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000525/1.057, allocations: 0.6477 MB / 1.167 GB, free: 25.03 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.069e-05/1.057, allocations: 21.45 kB / 1.167 GB, free: 25.02 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.607e-05/1.057, allocations: 12.88 kB / 1.167 GB, free: 25.02 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/1.057, allocations: 15.92 kB / 1.167 GB, free: 25.01 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/1.058, allocations: 50.67 kB / 1.167 GB, free: 25 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/1.058, allocations: 16.34 kB / 1.167 GB, free: 25 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001305/1.058, allocations: 172.1 kB / 1.167 GB, free: 24.89 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.058, allocations: 0 / 1.167 GB, free: 24.89 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000361/1.058, allocations: 90.66 kB / 1.167 GB, free: 24.88 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: 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.0001811/1.058, allocations: 145.4 kB / 1.167 GB, free: 24.77 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007138/1.059, allocations: 0.849 MB / 1.168 GB, free: 24.18 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.059, allocations: 3.938 kB / 1.168 GB, free: 24.17 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002594/1.059, allocations: 364.6 kB / 1.168 GB, free: 23.93 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/1.06, allocations: 56.31 kB / 1.168 GB, free: 23.91 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00073/1.06, allocations: 0.5954 MB / 1.169 GB, free: 23.57 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.776e-05/1.061, allocations: 135.8 kB / 1.169 GB, free: 23.48 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.481e-05/1.061, allocations: 36.19 kB / 1.169 GB, free: 23.48 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/1.061, allocations: 29 kB / 1.169 GB, free: 23.47 MB / 1.076 GB Notification: Performance of SimCode: time 2.81e-07/1.061, allocations: 0 / 1.169 GB, free: 23.47 MB / 1.076 GB Notification: Performance of Templates: time 0.01089/1.072, allocations: 5.328 MB / 1.174 GB, free: 22.85 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 9.452832357026637]