Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Enabling.Validation.Enable.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.00185/0.00185, allocations: 107.8 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.002262/0.002262, allocations: 212.4 kB / 23 MB, free: 4.977 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.124/3.124, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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.Enabling.Validation.Enable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|req.y|sch.y|TOut.y|enaHea.TOutLck|enaCoo.TOutLck|enaHea.y1|enaCoo.y1|enaCooSch.y1",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Enabling.Validation.Enable") translateModel(Buildings.Templates.Plants.Controls.Enabling.Validation.Enable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|req.y|sch.y|TOut.y|enaHea.TOutLck|enaCoo.TOutLck|enaHea.y1|enaCoo.y1|enaCooSch.y1",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Enabling.Validation.Enable") [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.002006/0.002006, allocations: 68.81 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.307, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Enabling.Validation.Enable): time 0.004519/0.3115, allocations: 2.68 MB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004259/0.3157, allocations: 2.694 MB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004126/0.3161, allocations: 39.69 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006013/0.3167, allocations: 210.4 kB / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003686/0.3171, allocations: 186.7 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001862/0.319, allocations: 0.7983 MB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001602/0.3206, allocations: 1.539 MB / 1.335 GB, free: 8.832 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005609/0.3211, allocations: 335.1 kB / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007098/0.3219, allocations: 0.5532 MB / 1.336 GB, free: 7.926 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007016/0.3226, allocations: 0.5682 MB / 1.336 GB, free: 7.355 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002206/0.3228, allocations: 148 kB / 1.337 GB, free: 7.211 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003632/0.3231, allocations: 211.9 kB / 1.337 GB, free: 7.004 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004035/0.3235, allocations: 403 kB / 1.337 GB, free: 6.609 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000509/0.324, allocations: 485.9 kB / 1.338 GB, free: 6.133 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001768/0.3258, allocations: 1.752 MB / 1.339 GB, free: 4.375 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3258, allocations: 4 kB / 1.339 GB, free: 4.371 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3258, allocations: 0 / 1.339 GB, free: 4.371 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.697e-05/0.3258, allocations: 0 / 1.339 GB, free: 4.371 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: 182 * Number of variables: 182 Notification: Performance of Generate backend data structure: time 0.002645/0.3285, allocations: 1.392 MB / 1.341 GB, free: 2.918 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.3285, allocations: 8.031 kB / 1.341 GB, free: 2.91 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003769/0.3289, allocations: 140.2 kB / 1.341 GB, free: 2.773 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.3303, allocations: 0.6858 MB / 1.342 GB, free: 2.059 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.789e-05/0.3303, allocations: 86.34 kB / 1.342 GB, free: 1.977 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000199/0.3305, allocations: 104.4 kB / 1.342 GB, free: 1.875 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.3321, allocations: 0.8472 MB / 1.343 GB, free: 1.02 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.3321, allocations: 192 / 1.343 GB, free: 1.02 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.333e-05/0.3322, allocations: 35.92 kB / 1.343 GB, free: 0.9844 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.3322, allocations: 20 kB / 1.343 GB, free: 0.9648 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.3334, allocations: 0.6715 MB / 1.343 GB, free: 300 kB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004116/0.3375, allocations: 1.967 MB / 1.345 GB, free: 14.29 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.3391, allocations: 0.9352 MB / 1.346 GB, free: 13.34 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006129/0.3398, allocations: 350.7 kB / 1.346 GB, free: 13 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.58e-05/0.3398, allocations: 12.66 kB / 1.346 GB, free: 12.98 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001261/0.3411, allocations: 0.7618 MB / 1.347 GB, free: 12.21 MB / 1.045 GB Notification: Performance of pre-optimization done (n=111): time 3.436e-06/0.3411, allocations: 0 / 1.347 GB, free: 12.21 MB / 1.045 GB Notification: Performance of matching and sorting (n=111): time 0.00263/0.3437, allocations: 1.496 MB / 1.349 GB, free: 10.71 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.181e-05/0.3438, allocations: 84.39 kB / 1.349 GB, free: 10.61 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008441/0.3446, allocations: 0.6784 MB / 1.349 GB, free: 9.926 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001377/0.3447, allocations: 77.69 kB / 1.349 GB, free: 9.844 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003576/0.3451, allocations: 366.1 kB / 1.35 GB, free: 9.48 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002349/0.3453, allocations: 258 kB / 1.35 GB, free: 9.227 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004311/0.3458, allocations: 286.8 kB / 1.35 GB, free: 8.941 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002172/0.346, allocations: 402.7 kB / 1.351 GB, free: 8.539 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007411/0.3467, allocations: 433.8 kB / 1.351 GB, free: 8.102 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.3479, allocations: 1.016 MB / 1.352 GB, free: 6.926 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.349, allocations: 0.725 MB / 1.353 GB, free: 6.148 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.349, allocations: 0 / 1.353 GB, free: 6.148 MB / 1.045 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001956/0.351, allocations: 1.151 MB / 1.354 GB, free: 4.965 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 7.42e-05/0.3511, allocations: 67.39 kB / 1.354 GB, free: 4.887 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.3511, allocations: 4.312 kB / 1.354 GB, free: 4.883 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/0.3511, allocations: 12 kB / 1.354 GB, free: 4.871 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003809/0.3515, allocations: 91.64 kB / 1.354 GB, free: 4.781 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.721e-05/0.3515, allocations: 8 kB / 1.354 GB, free: 4.773 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/0.3526, allocations: 191.3 kB / 1.354 GB, free: 4.586 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.459e-05/0.3527, allocations: 47.98 kB / 1.354 GB, free: 4.539 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 128 ($whenCondition34,$whenCondition35,$whenCondition15,$whenCondition14,$whenCondition12,$whenCondition13,$whenCondition2,$whenCondition1,enaHea.runDis.entryTime,$PRE.enaHea.runDis.entryTime,enaHea.dis.y,enaHea.timEna.entryTime,$PRE.enaHea.timEna.entryTime,$PRE.enaHea.preEna.u,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition6,enaCoo.runDis.entryTime,$PRE.enaCoo.runDis.entryTime,enaCoo.dis.y,enaCoo.timEna.entryTime,$PRE.enaCoo.timEna.entryTime,$PRE.enaCoo.preEna.u,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition19,enaCooSch.runDis.entryTime,$PRE.enaCooSch.runDis.entryTime,enaCooSch.dis.y,enaCooSch.timEna.entryTime,$PRE.enaCooSch.timEna.entryTime,$PRE.enaCooSch.preEna.u,$whenCondition27,$whenCondition26,$whenCondition25,$whenCondition28,sch.y,$PRE.sch.y,enaCooSch.lat.y,enaCooSch.andRun.y,enaCooSch.timLowReq.entryTime,$PRE.enaCooSch.timLowReq.entryTime,enaCooSch.timLowReq.passed,$PRE.enaCooSch.timLowReq.passed,enaCooSch.lowIgn.y,enaCooSch.mulOr.uTemp[2],enaCooSch.mulOr.y,enaCooSch.mulOr.u[3],enaCooSch.mulAnd.uTemp[3],enaCooSch.mulAnd.uTemp[2],enaCooSch.mulAnd.y,enaCooSch.mulAnd.u[4],enaCooSch.mulAnd.u[3],enaCooSch.runDis.passed,$PRE.enaCooSch.runDis.passed,enaCooSch.timEna.passed,$PRE.enaCooSch.timEna.passed,enaCooSch.preEna.u,enaCoo.lat.y,enaCoo.andRun.y,enaCoo.timLowReq.entryTime,$PRE.enaCoo.timLowReq.entryTime,enaCoo.timLowReq.passed,$PRE.enaCoo.timLowReq.passed,enaCoo.lowIgn.y,enaCoo.mulOr.uTemp[2],enaCoo.mulOr.y,enaCoo.mulOr.u[3],enaCoo.mulOr.u[1],enaCoo.mulAnd.uTemp[3],enaCoo.mulAnd.uTemp[2],enaCoo.mulAnd.y,enaCoo.mulAnd.u[4],enaCoo.mulAnd.u[3],enaCoo.runDis.passed,$PRE.enaCoo.runDis.passed,enaCoo.timEna.passed,$PRE.enaCoo.timEna.passed,enaCoo.preEna.u,enaCoo.schEna.intTimTab.idx,$PRE.enaCoo.schEna.intTimTab.idx,enaCoo.schEna.intTimTab.y[1],$PRE.enaCoo.schEna.intTimTab.y[1],req.booPul.y,$PRE.req.booPul.y,req.y,enaHea.lat.y,enaHea.andRun.y,enaHea.timLowReq.entryTime,$PRE.enaHea.timLowReq.entryTime,enaHea.timLowReq.passed,$PRE.enaHea.timLowReq.passed,enaHea.lowIgn.y,enaHea.mulOr.uTemp[2],enaHea.mulOr.y,enaHea.mulOr.u[3],enaHea.mulOr.u[1],enaHea.mulAnd.uTemp[3],enaHea.mulAnd.uTemp[2],enaHea.mulAnd.y,enaHea.mulAnd.u[4],enaHea.mulAnd.u[3],enaHea.runDis.passed,$PRE.enaHea.runDis.passed,enaHea.timEna.passed,$PRE.enaHea.timEna.passed,enaHea.preEna.u,enaHea.schEna.intTimTab.idx,$PRE.enaHea.schEna.intTimTab.idx,enaHea.schEna.intTimTab.y[1],$PRE.enaHea.schEna.intTimTab.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition11,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition23,$whenCondition24,$whenCondition31,$whenCondition30,$whenCondition29,$whenCondition32,$whenCondition33) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 2 * 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.0006471/0.3533, allocations: 376.6 kB / 1.355 GB, free: 4.156 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.3535, allocations: 95.42 kB / 1.355 GB, free: 4.062 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001878/0.3537, allocations: 96.2 kB / 1.355 GB, free: 3.965 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.3537, allocations: 3.984 kB / 1.355 GB, free: 3.961 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3537, allocations: 0 / 1.355 GB, free: 3.961 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.3538, allocations: 91.28 kB / 1.355 GB, free: 3.871 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/0.354, allocations: 43.97 kB / 1.355 GB, free: 3.828 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004072/0.3544, allocations: 71.92 kB / 1.355 GB, free: 3.758 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002926/0.3547, allocations: 144.7 kB / 1.355 GB, free: 3.617 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002129/0.3568, allocations: 1.279 MB / 1.356 GB, free: 2.328 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001927/0.3587, allocations: 1.366 MB / 1.358 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006931/0.3594, allocations: 451.7 kB / 1.358 GB, free: 0.5078 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005309/0.36, allocations: 442.8 kB / 1.359 GB, free: 80 kB / 1.045 GB Notification: Performance of Backend: time 4.21e-07/0.36, allocations: 0 / 1.359 GB, free: 80 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001758/0.3617, allocations: 0.8505 MB / 1.359 GB, free: 15.18 MB / 1.061 GB Notification: Performance of SimCode: time 0.002512/0.3642, allocations: 1.856 MB / 1.361 GB, free: 13.27 MB / 1.061 GB Notification: Performance of Templates: time 0.02864/0.3929, allocations: 16.49 MB / 1.377 GB, free: 13.02 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Enabling.Validation.Enable.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Enabling.Validation.Enable.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Enabling.Validation.Enable.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Enabling.Validation.Enable.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Enabling.Validation.Enable.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Enabling.Validation.Enable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Enabling.Validation.Enable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Enabling.Validation.Enable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Enabling_Validation_Enable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Enabling.Validation.Enable.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.977568344998872]