Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00145/0.00145, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001584/0.001584, allocations: 193.8 kB / 22.17 MB, free: 5.652 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.333/1.333, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.911/2.911, allocations: 497.2 MB / 0.7845 GB, free: 33.59 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 61.62 kB / 1.139 GB, free: 33.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3136, allocations: 173.9 MB / 1.309 GB, free: 15.99 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.00228/0.3159, allocations: 0.9478 MB / 1.31 GB, free: 15.04 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001949/0.3179, allocations: 1.416 MB / 1.312 GB, free: 13.61 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.908e-05/0.3179, allocations: 8 kB / 1.312 GB, free: 13.61 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003112/0.3182, allocations: 55.69 kB / 1.312 GB, free: 13.55 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.3184, allocations: 67.61 kB / 1.312 GB, free: 13.48 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008094/0.3192, allocations: 325.4 kB / 1.312 GB, free: 13.17 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005154/0.3197, allocations: 443.2 kB / 1.312 GB, free: 12.74 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.3198, allocations: 37.61 kB / 1.312 GB, free: 12.7 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.32, allocations: 171.7 kB / 1.313 GB, free: 12.53 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00031/0.3203, allocations: 163.4 kB / 1.313 GB, free: 12.37 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.627e-05/0.3204, allocations: 36 kB / 1.313 GB, free: 12.34 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.3205, allocations: 71.95 kB / 1.313 GB, free: 12.27 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.3206, allocations: 75.8 kB / 1.313 GB, free: 12.19 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.3208, allocations: 159.3 kB / 1.313 GB, free: 12.04 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000476/0.3213, allocations: 422.6 kB / 1.313 GB, free: 11.62 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3213, allocations: 4 kB / 1.314 GB, free: 11.62 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3213, allocations: 3.938 kB / 1.314 GB, free: 11.61 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.3213, allocations: 4 kB / 1.314 GB, free: 11.61 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.0009337/0.3222, allocations: 0.6649 MB / 1.314 GB, free: 10.87 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.3223, allocations: 8.625 kB / 1.314 GB, free: 10.86 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.393e-05/0.3224, allocations: 32.8 kB / 1.314 GB, free: 10.83 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004708/0.3228, allocations: 301 kB / 1.314 GB, free: 10.49 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.3229, allocations: 16.38 kB / 1.315 GB, free: 10.48 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.016e-05/0.3229, allocations: 24.38 kB / 1.315 GB, free: 10.45 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003126/0.3232, allocations: 182.1 kB / 1.315 GB, free: 10.27 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3232, allocations: 192 / 1.315 GB, free: 10.27 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.3233, allocations: 11.94 kB / 1.315 GB, free: 10.26 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.3233, allocations: 3.938 kB / 1.315 GB, free: 10.25 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/0.3235, allocations: 123.9 kB / 1.315 GB, free: 10.13 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.3245, allocations: 0.6289 MB / 1.315 GB, free: 9.453 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000413/0.3249, allocations: 214.5 kB / 1.316 GB, free: 9.234 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001955/0.3251, allocations: 128.9 kB / 1.316 GB, free: 9.105 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.3251, allocations: 4 kB / 1.316 GB, free: 9.102 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003461/0.3255, allocations: 227.9 kB / 1.316 GB, free: 8.863 MB / 1.014 GB Notification: Performance of pre-optimization done (n=27): time 1.513e-06/0.3255, allocations: 0 / 1.316 GB, free: 8.863 MB / 1.014 GB Notification: Performance of matching and sorting (n=27): time 0.0008063/0.3263, allocations: 0.5177 MB / 1.317 GB, free: 8.332 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.274e-05/0.3264, allocations: 122.8 kB / 1.317 GB, free: 8.188 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/0.3266, allocations: 252 kB / 1.317 GB, free: 7.93 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.703e-05/0.3267, allocations: 37.7 kB / 1.317 GB, free: 7.887 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.3268, allocations: 128.7 kB / 1.317 GB, free: 7.754 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.924e-05/0.3269, allocations: 63.52 kB / 1.317 GB, free: 7.691 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.327, allocations: 97.64 kB / 1.317 GB, free: 7.59 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.3272, allocations: 342.8 kB / 1.317 GB, free: 7.246 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002717/0.3275, allocations: 163.9 kB / 1.318 GB, free: 7.086 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004069/0.3279, allocations: 291.2 kB / 1.318 GB, free: 6.754 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005566/0.3284, allocations: 0.4916 MB / 1.318 GB, free: 6.191 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3284, allocations: 0 / 1.318 GB, free: 6.191 MB / 1.014 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008562/0.3293, allocations: 0.578 MB / 1.319 GB, free: 5.582 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/0.3294, allocations: 147 kB / 1.319 GB, free: 5.414 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3294, allocations: 4 kB / 1.319 GB, free: 5.41 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3294, allocations: 4 kB / 1.319 GB, free: 5.406 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.604e-05/0.3295, allocations: 28.06 kB / 1.319 GB, free: 5.379 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.3295, allocations: 11.92 kB / 1.319 GB, free: 5.367 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005449/0.3301, allocations: 87.75 kB / 1.319 GB, free: 5.281 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.957e-05/0.3301, allocations: 23.98 kB / 1.319 GB, free: 5.258 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.0002652/0.3304, allocations: 259.6 kB / 1.32 GB, free: 4.98 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.486e-05/0.3304, allocations: 27.8 kB / 1.32 GB, free: 4.953 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.094e-05/0.3305, allocations: 22.55 kB / 1.32 GB, free: 4.934 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3305, allocations: 4 kB / 1.32 GB, free: 4.93 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3305, allocations: 0 / 1.32 GB, free: 4.93 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3305, allocations: 0 / 1.32 GB, free: 4.93 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.3316, allocations: 0.8571 MB / 1.32 GB, free: 4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3316, allocations: 4 kB / 1.32 GB, free: 3.996 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.25e-05/0.3317, allocations: 8 kB / 1.32 GB, free: 3.988 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3317, allocations: 0 / 1.32 GB, free: 3.988 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.3317, allocations: 15.98 kB / 1.32 GB, free: 3.973 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3317, allocations: 3.938 kB / 1.32 GB, free: 3.969 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3317, allocations: 0 / 1.32 GB, free: 3.969 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006537/0.3324, allocations: 0.5382 MB / 1.321 GB, free: 3.402 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.768e-05/0.3325, allocations: 104.9 kB / 1.321 GB, free: 3.281 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.079e-05/0.3325, allocations: 19.92 kB / 1.321 GB, free: 3.262 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.3327, allocations: 19.92 kB / 1.321 GB, free: 3.242 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.3328, allocations: 47.95 kB / 1.321 GB, free: 3.195 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.3328, allocations: 12 kB / 1.321 GB, free: 3.184 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001693/0.333, allocations: 173.6 kB / 1.321 GB, free: 3.016 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.333, allocations: 0 / 1.321 GB, free: 3.016 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003628/0.3333, allocations: 87.92 kB / 1.321 GB, free: 2.93 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.000223/0.3335, allocations: 145.7 kB / 1.322 GB, free: 2.781 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008196/0.3344, allocations: 0.624 MB / 1.322 GB, free: 2.109 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3344, allocations: 0 / 1.322 GB, free: 2.109 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003125/0.3347, allocations: 282.6 kB / 1.322 GB, free: 1.809 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.3351, allocations: 60.95 kB / 1.322 GB, free: 1.75 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008446/0.3359, allocations: 0.5231 MB / 1.323 GB, free: 1.195 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.3363, allocations: 0.7477 MB / 1.324 GB, free: 432 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.751e-05/0.3364, allocations: 37.92 kB / 1.324 GB, free: 396 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.528e-05/0.3364, allocations: 19.44 kB / 1.324 GB, free: 376 kB / 1.014 GB Notification: Performance of SimCode: time 4.01e-07/0.3364, allocations: 0 / 1.324 GB, free: 376 kB / 1.014 GB Notification: Performance of Templates: time 0.0091/0.3455, allocations: 4.939 MB / 1.329 GB, free: 11.5 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional -abortSlowSimulation -alarm=800 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.084273644722998]