Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests.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.001688/0.001688, 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.002196/0.002196, allocations: 220 kB / 23.01 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.343/3.343, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 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.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sysReq.TCooSet|sysReq.TZon|sysReq.uCoo|sysReq.uDam|sysReq.uVal|sysReq.VSet_flow|sysReq.VPri_flow|sysReq.TDisSet|sysReq.TDis|sysReq.yZonTemResReq|sysReq.yZonPreResReq|sysReq.yHeaValResReq|sysReq.yHotWatPlaReq",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sysReq.TCooSet|sysReq.TZon|sysReq.uCoo|sysReq.uDam|sysReq.uVal|sysReq.VSet_flow|sysReq.VPri_flow|sysReq.TDisSet|sysReq.TDis|sysReq.yZonTemResReq|sysReq.yZonPreResReq|sysReq.yHeaValResReq|sysReq.yHotWatPlaReq",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests") [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.002009/0.002009, allocations: 61.31 kB / 1.155 GB, free: 25.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3768, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests): time 0.00471/0.3815, allocations: 2.684 MB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003558/0.385, allocations: 2.125 MB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005565/0.3856, allocations: 35.75 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004176/0.386, allocations: 154.3 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003486/0.3863, allocations: 154.5 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.3875, allocations: 0.5551 MB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001437/0.389, allocations: 1.331 MB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006433/0.3896, allocations: 373 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006856/0.3903, allocations: 0.514 MB / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005813/0.3909, allocations: 0.5211 MB / 1.335 GB, free: 8.523 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001983/0.3911, allocations: 140 kB / 1.335 GB, free: 8.387 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002459/0.3913, allocations: 156 kB / 1.336 GB, free: 8.234 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002617/0.3916, allocations: 283.1 kB / 1.336 GB, free: 7.957 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004656/0.3921, allocations: 453.9 kB / 1.336 GB, free: 7.512 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00192/0.394, allocations: 1.72 MB / 1.338 GB, free: 5.785 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.394, allocations: 0 / 1.338 GB, free: 5.785 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.352e-06/0.394, allocations: 4 kB / 1.338 GB, free: 5.781 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.203e-05/0.394, allocations: 0 / 1.338 GB, free: 5.781 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.003691/0.3977, allocations: 1.419 MB / 1.339 GB, free: 4.312 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.3977, allocations: 8.031 kB / 1.339 GB, free: 4.305 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000429/0.3982, allocations: 140.2 kB / 1.34 GB, free: 4.168 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002206/0.4004, allocations: 0.8012 MB / 1.34 GB, free: 3.34 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.487e-05/0.4005, allocations: 78.34 kB / 1.34 GB, free: 3.266 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/0.4006, allocations: 100.4 kB / 1.341 GB, free: 3.168 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/0.4025, allocations: 0.8372 MB / 1.341 GB, free: 2.312 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.4025, allocations: 3.938 kB / 1.341 GB, free: 2.309 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.254e-05/0.4026, allocations: 39.97 kB / 1.341 GB, free: 2.27 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/0.4026, allocations: 19.98 kB / 1.341 GB, free: 2.25 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.4044, allocations: 0.6034 MB / 1.342 GB, free: 1.645 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004493/0.4089, allocations: 1.788 MB / 1.344 GB, free: 15.81 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002035/0.4109, allocations: 0.7517 MB / 1.344 GB, free: 15.04 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008686/0.4118, allocations: 343.8 kB / 1.345 GB, free: 14.69 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.631e-05/0.4119, allocations: 8.234 kB / 1.345 GB, free: 14.68 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001376/0.4132, allocations: 0.6364 MB / 1.345 GB, free: 14.03 MB / 1.045 GB Notification: Performance of pre-optimization done (n=93): time 3.216e-06/0.4132, allocations: 0 / 1.345 GB, free: 14.03 MB / 1.045 GB Notification: Performance of matching and sorting (n=93): time 0.003332/0.4166, allocations: 1.321 MB / 1.347 GB, free: 12.7 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.931e-05/0.4167, allocations: 130.7 kB / 1.347 GB, free: 12.55 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008099/0.4175, allocations: 0.5976 MB / 1.347 GB, free: 11.94 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001512/0.4176, allocations: 73.69 kB / 1.347 GB, free: 11.86 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000358/0.418, allocations: 381.6 kB / 1.348 GB, free: 11.48 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002435/0.4182, allocations: 230.2 kB / 1.348 GB, free: 11.26 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003695/0.4186, allocations: 226.9 kB / 1.348 GB, free: 11.03 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000258/0.4189, allocations: 406.7 kB / 1.349 GB, free: 10.62 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000992/0.4199, allocations: 368.1 kB / 1.349 GB, free: 10.26 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/0.4211, allocations: 0.6599 MB / 1.35 GB, free: 9.461 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001889/0.4229, allocations: 0.8897 MB / 1.351 GB, free: 8.438 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/0.423, allocations: 4 kB / 1.351 GB, free: 8.434 MB / 1.045 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002657/0.4256, allocations: 1.119 MB / 1.352 GB, free: 7.297 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.934e-05/0.4257, allocations: 43.67 kB / 1.352 GB, free: 7.25 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/0.4257, allocations: 11.98 kB / 1.352 GB, free: 7.238 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.569e-05/0.4257, allocations: 16 kB / 1.352 GB, free: 7.223 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006994/0.4264, allocations: 160 kB / 1.352 GB, free: 7.066 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.624e-05/0.4264, allocations: 20 kB / 1.352 GB, free: 7.047 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009928/0.4274, allocations: 179.3 kB / 1.352 GB, free: 6.871 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.4275, allocations: 55.91 kB / 1.352 GB, free: 6.816 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 113 ($PRE.sysReq.tim1.u,$PRE.sysReq.tim2.u,$PRE.sysReq.tim3.u,$PRE.sysReq.tim4.u,$PRE.sysReq.tim5.u,TCooSet.u_internal,$PRE.TCooSet.u_internal,sysReq.sampler.firstTrigger,$PRE.sysReq.sampler.firstTrigger,$whenCondition21,$whenCondition22,$PRE.sysReq.tim2.t_next,$whenCondition16,$PRE.sysReq.tim1.t_next,$whenCondition13,sysReq.sampler.sampleTrigger,$whenCondition19,TCooSet.sampleTrigger,$whenCondition20,sysReq.tim2.t_next,booPul.y,$PRE.booPul.y,TCooSet.y,$PRE.TCooSet.y,sysReq.sampler.y,sysReq.tim2.y,sysReq.tim2.u,sysReq.tim1.y,sysReq.tim1.u,sysReq.intSwi1.y,sysReq.and2.y,sysReq.and1.y,sysReq.booToInt.y,sysReq.greThr.greHys.y,$PRE.sysReq.greThr.greHys.y,sysReq.greThr2.greHys.y,$PRE.sysReq.greThr2.greHys.y,sysReq.greThr1.greHys.y,$PRE.sysReq.greThr1.greHys.y,sysReq.yZonTemResReq,$whenCondition15,$whenCondition14,$whenCondition18,$whenCondition17,sysReq.tim1.t_next,sysReq.sampler3.firstTrigger,$PRE.sysReq.sampler3.firstTrigger,sysReq.sampler2.firstTrigger,$PRE.sysReq.sampler2.firstTrigger,sysReq.sampler1.firstTrigger,$PRE.sysReq.sampler1.firstTrigger,$PRE.sysReq.tim3.t_next,$whenCondition7,sysReq.sampler1.sampleTrigger,$whenCondition10,sysReq.sampler2.sampleTrigger,$whenCondition11,sysReq.sampler3.sampleTrigger,$whenCondition12,sysReq.sampler3.y,sysReq.sampler2.y,sysReq.sampler1.y,sysReq.and5.y,sysReq.greEqu1.greHys.y,$PRE.sysReq.greEqu1.greHys.y,sysReq.greEqu.greHys.y,$PRE.sysReq.greEqu.greHys.y,sysReq.tim3.y,sysReq.tim3.u,sysReq.swi5.y,sysReq.and4.y,sysReq.and3.y,sysReq.booToInt1.y,sysReq.greThr4.greHys.y,$PRE.sysReq.greThr4.greHys.y,sysReq.greThr3.greHys.y,$PRE.sysReq.greThr3.greHys.y,sysReq.yZonPreResReq,$whenCondition9,$whenCondition8,sysReq.tim3.t_next,$PRE.sysReq.tim5.t_next,$whenCondition4,$PRE.sysReq.tim4.t_next,$whenCondition1,sysReq.tim5.t_next,sysReq.greThr6.greHys.y,$PRE.sysReq.greThr6.greHys.y,sysReq.booToInt2.y,sysReq.greThr5.greHys.y,$PRE.sysReq.greThr5.greHys.y,sysReq.tim5.y,sysReq.tim5.u,sysReq.tim4.y,sysReq.tim4.u,sysReq.intSwi3.y,sysReq.les1.lesHys.y,$PRE.sysReq.les1.lesHys.y,sysReq.les.lesHys.y,$PRE.sysReq.les.lesHys.y,sysReq.yHotWatPlaReq,sysReq.yHeaValResReq,$whenCondition3,$whenCondition2,$whenCondition6,$whenCondition5,sysReq.tim4.t_next,sysReq.twoCooResReq.y,sysReq.thrCooResReq.y,sysReq.twoPreResReq.y,sysReq.thrPreResReq.y,sysReq.twoHeaResReq.y,sysReq.thrHeaResReq.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 1 * 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.0005563/0.4281, allocations: 313.4 kB / 1.352 GB, free: 6.496 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.4283, allocations: 95.42 kB / 1.352 GB, free: 6.402 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001876/0.4285, allocations: 86.17 kB / 1.353 GB, free: 6.316 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.4285, allocations: 7.984 kB / 1.353 GB, free: 6.309 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.4285, allocations: 0 / 1.353 GB, free: 6.309 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.4286, allocations: 79.34 kB / 1.353 GB, free: 6.23 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/0.4288, allocations: 39.92 kB / 1.353 GB, free: 6.191 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006841/0.4294, allocations: 99.86 kB / 1.353 GB, free: 6.094 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003125/0.4298, allocations: 143.7 kB / 1.353 GB, free: 5.953 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002857/0.4326, allocations: 1.302 MB / 1.354 GB, free: 4.645 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002467/0.4351, allocations: 1.354 MB / 1.356 GB, free: 3.27 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009735/0.4361, allocations: 394.1 kB / 1.356 GB, free: 2.887 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005027/0.4366, allocations: 379.1 kB / 1.356 GB, free: 2.52 MB / 1.045 GB Notification: Performance of Backend: time 5.61e-07/0.4366, allocations: 0 / 1.356 GB, free: 2.52 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002164/0.4387, allocations: 0.72 MB / 1.357 GB, free: 1.773 MB / 1.045 GB Notification: Performance of SimCode: time 0.002638/0.4414, allocations: 1.752 MB / 1.359 GB, free: 15.96 MB / 1.061 GB Notification: Performance of Templates: time 0.0266/0.468, allocations: 14.23 MB / 1.373 GB, free: 2 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_SystemRequests.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests.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.830360695996205]