Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002047/0.002047, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.002517/0.002517, allocations: 202.6 kB / 22.18 MB, free: 5.211 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.558/1.558, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.84/2.84, allocations: 476.7 MB / 0.7645 GB, free: 10.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 67.89 kB / 1.109 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.013, allocations: 168.7 MB / 1.274 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.002493/1.015, allocations: 0.9391 MB / 1.275 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002217/1.018, allocations: 1.413 MB / 1.276 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/1.018, allocations: 4 kB / 1.276 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003959/1.018, allocations: 55.69 kB / 1.276 GB, free: 2 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/1.018, allocations: 67.61 kB / 1.276 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001004/1.019, allocations: 333.5 kB / 1.277 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005951/1.02, allocations: 439.2 kB / 1.277 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/1.02, allocations: 41.64 kB / 1.277 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/1.02, allocations: 171.6 kB / 1.277 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003346/1.02, allocations: 175.4 kB / 1.278 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.031e-05/1.021, allocations: 36 kB / 1.278 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/1.021, allocations: 71.95 kB / 1.278 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001453/1.021, allocations: 79.8 kB / 1.278 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001933/1.021, allocations: 155.3 kB / 1.278 GB, free: 480 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005387/1.022, allocations: 433.2 kB / 1.278 GB, free: 52 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/1.022, allocations: 0 / 1.278 GB, free: 52 kB / 0.9669 GB Notification: Performance of FrontEnd: time 2.004e-06/1.022, allocations: 0 / 1.278 GB, free: 52 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.722e-06/1.022, allocations: 0 / 1.278 GB, free: 52 kB / 0.9669 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.001014/1.023, allocations: 0.6613 MB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/1.023, allocations: 12.03 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/1.023, allocations: 28.8 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004716/1.023, allocations: 309 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/1.023, allocations: 16.36 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.765e-05/1.023, allocations: 24.38 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000334/1.024, allocations: 180.8 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/1.024, allocations: 192 / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/1.024, allocations: 7.938 kB / 1.28 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/1.024, allocations: 8 kB / 1.28 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000203/1.024, allocations: 125.8 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/1.025, allocations: 0.6288 MB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004244/1.025, allocations: 202.6 kB / 1.28 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/1.026, allocations: 136.8 kB / 1.281 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/1.026, allocations: 4 kB / 1.281 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003767/1.026, allocations: 237 kB / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=27): time 1.492e-06/1.026, allocations: 0 / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=27): time 0.0008099/1.027, allocations: 0.5092 MB / 1.281 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/1.027, allocations: 126.8 kB / 1.281 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/1.027, allocations: 252 kB / 1.282 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.983e-05/1.027, allocations: 41.7 kB / 1.282 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/1.027, allocations: 132.7 kB / 1.282 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.815e-05/1.027, allocations: 63.53 kB / 1.282 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/1.028, allocations: 97.66 kB / 1.282 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000182/1.028, allocations: 338.8 kB / 1.282 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/1.028, allocations: 167.9 kB / 1.282 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004149/1.028, allocations: 293.6 kB / 1.283 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005888/1.029, allocations: 487.4 kB / 1.283 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.029, allocations: 4 kB / 1.283 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009739/1.03, allocations: 0.582 MB / 1.284 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001265/1.03, allocations: 138.8 kB / 1.284 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/1.03, allocations: 7.938 kB / 1.284 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.597e-05/1.03, allocations: 4 kB / 1.284 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/1.03, allocations: 24.3 kB / 1.284 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/1.03, allocations: 11.94 kB / 1.284 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005506/1.031, allocations: 87.75 kB / 1.284 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-05/1.031, allocations: 23.98 kB / 1.284 GB, free: 9.707 MB / 0.9825 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.0002935/1.031, allocations: 255.6 kB / 1.284 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.536e-05/1.031, allocations: 23.86 kB / 1.284 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.44e-05/1.031, allocations: 22.56 kB / 1.284 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/1.031, allocations: 0 / 1.284 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/1.031, allocations: 4 kB / 1.284 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/1.031, allocations: 3.984 kB / 1.284 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/1.033, allocations: 0.857 MB / 1.285 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.033, allocations: 0 / 1.285 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.97e-05/1.033, allocations: 16.05 kB / 1.285 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/1.033, allocations: 8 kB / 1.285 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/1.033, allocations: 8 kB / 1.285 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/1.033, allocations: 3.938 kB / 1.285 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.033, allocations: 3.984 kB / 1.285 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007307/1.033, allocations: 0.5382 MB / 1.286 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/1.033, allocations: 96.91 kB / 1.286 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.102e-05/1.034, allocations: 15.98 kB / 1.286 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/1.034, allocations: 19.92 kB / 1.286 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/1.034, allocations: 51.91 kB / 1.286 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.859e-05/1.034, allocations: 15.98 kB / 1.286 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002767/1.034, allocations: 177.6 kB / 1.286 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/1.034, allocations: 0 / 1.286 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003783/1.035, allocations: 83.94 kB / 1.286 GB, free: 7.375 MB / 0.9825 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.0002602/1.035, allocations: 143.1 kB / 1.286 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009695/1.036, allocations: 0.6223 MB / 1.287 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.036, allocations: 0 / 1.287 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003341/1.036, allocations: 282.6 kB / 1.287 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/1.037, allocations: 49.03 kB / 1.287 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009219/1.037, allocations: 0.5175 MB / 1.288 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/1.038, allocations: 0.7401 MB / 1.288 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.528e-05/1.038, allocations: 37.94 kB / 1.289 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.327e-05/1.038, allocations: 23.42 kB / 1.289 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/1.038, allocations: 0 / 1.289 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of Templates: time 0.009784/1.048, allocations: 4.952 MB / 1.293 GB, free: 15.97 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.553162440191954]