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.001771/0.001771, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.002166/0.002166, allocations: 211.9 kB / 23 MB, free: 4.969 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.139/3.139, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 177] 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.002145/0.002145, allocations: 65.03 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3215, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.002372/0.3239, allocations: 0.914 MB / 1.328 GB, free: 84 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00215/0.326, allocations: 1.424 MB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.3261, allocations: 0 / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003791/0.3265, allocations: 75.61 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.3267, allocations: 59.67 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.3277, allocations: 334.7 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000618/0.3283, allocations: 435.2 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.3285, allocations: 37.73 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003036/0.3288, allocations: 179.6 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003917/0.3292, allocations: 163.5 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.3293, allocations: 39.94 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001963/0.3295, allocations: 67.95 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.3296, allocations: 83.78 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002096/0.3298, allocations: 131.5 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005548/0.3304, allocations: 434.6 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3304, allocations: 0 / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3304, allocations: 0 / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.3304, allocations: 0 / 1.331 GB, free: 12.64 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001069/0.3315, allocations: 0.5914 MB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.3315, allocations: 8.031 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.3316, allocations: 28.8 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005365/0.3322, allocations: 254.9 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.3322, allocations: 12.38 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.139e-05/0.3323, allocations: 20.38 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000414/0.3327, allocations: 280.2 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3327, allocations: 4.125 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.3327, allocations: 7.938 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3327, allocations: 4 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002808/0.333, allocations: 207.3 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.334, allocations: 0.4961 MB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005087/0.3346, allocations: 289.9 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002656/0.3348, allocations: 208.3 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.3348, allocations: 4 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004387/0.3353, allocations: 311.3 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of pre-optimization done (n=27): time 2.044e-06/0.3353, allocations: 4 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.001022/0.3363, allocations: 0.7039 MB / 1.335 GB, free: 9 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.304e-05/0.3364, allocations: 118.8 kB / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.3367, allocations: 245.4 kB / 1.335 GB, free: 8.609 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.252e-05/0.3367, allocations: 41.7 kB / 1.335 GB, free: 8.562 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.3368, allocations: 132.7 kB / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.867e-05/0.3369, allocations: 63.53 kB / 1.335 GB, free: 8.367 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.3371, allocations: 101.7 kB / 1.335 GB, free: 8.262 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3373, allocations: 338.8 kB / 1.336 GB, free: 7.922 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004239/0.3377, allocations: 314.7 kB / 1.336 GB, free: 7.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006096/0.3383, allocations: 0.5599 MB / 1.336 GB, free: 6.926 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006221/0.3389, allocations: 0.5189 MB / 1.337 GB, free: 6.336 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3389, allocations: 0 / 1.337 GB, free: 6.336 MB / 1.029 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001086/0.34, allocations: 0.7603 MB / 1.338 GB, free: 5.52 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.3401, allocations: 138.8 kB / 1.338 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.3401, allocations: 4.062 kB / 1.338 GB, free: 5.355 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.3402, allocations: 8 kB / 1.338 GB, free: 5.348 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.3403, allocations: 19.98 kB / 1.338 GB, free: 5.328 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.3403, allocations: 7.938 kB / 1.338 GB, free: 5.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006083/0.3409, allocations: 96.08 kB / 1.338 GB, free: 5.227 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.287e-05/0.341, allocations: 20 kB / 1.338 GB, free: 5.207 MB / 1.029 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.0002696/0.3412, allocations: 248.2 kB / 1.338 GB, free: 4.941 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.476e-05/0.3413, allocations: 27.86 kB / 1.338 GB, free: 4.914 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.842e-05/0.3413, allocations: 30.58 kB / 1.338 GB, free: 4.887 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3413, allocations: 0 / 1.338 GB, free: 4.887 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.3413, allocations: 4 kB / 1.338 GB, free: 4.883 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.369e-05/0.3414, allocations: 23.84 kB / 1.338 GB, free: 4.859 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.953e-05/0.3414, allocations: 12 kB / 1.338 GB, free: 4.848 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.3416, allocations: 19.92 kB / 1.338 GB, free: 4.828 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.3417, allocations: 47.95 kB / 1.338 GB, free: 4.781 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008299/0.3425, allocations: 0.7171 MB / 1.339 GB, free: 4.008 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000793/0.3433, allocations: 0.7121 MB / 1.34 GB, free: 3.254 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002933/0.3436, allocations: 232.8 kB / 1.34 GB, free: 3.016 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001772/0.3438, allocations: 172.5 kB / 1.34 GB, free: 2.848 MB / 1.029 GB Notification: Performance of Backend: time 5.41e-07/0.3438, allocations: 4 kB / 1.34 GB, free: 2.844 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001174/0.345, allocations: 0.7244 MB / 1.341 GB, free: 2.039 MB / 1.029 GB Notification: Performance of SimCode: time 0.001124/0.3461, allocations: 0.9388 MB / 1.342 GB, free: 1.027 MB / 1.029 GB Notification: Performance of Templates: time 0.01058/0.3567, allocations: 5.733 MB / 1.347 GB, free: 11.41 MB / 1.045 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/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: 8.845724463004444]