Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_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=5000,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_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 111.1 kB / 16.41 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 187.9 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.318/2.318, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001499, allocations: 71.89 kB / 0.9516 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8761/0.8776, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests): time 0.003912/0.8816, allocations: 2.995 MB / 1.092 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002728/0.8843, allocations: 2.071 MB / 1.094 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004404/0.8848, allocations: 26.22 kB / 1.094 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003277/0.8851, allocations: 151.6 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002817/0.8854, allocations: 155 kB / 1.094 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.8865, allocations: 0.5468 MB / 1.094 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001327/0.8878, allocations: 1.34 MB / 1.096 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007357/0.8885, allocations: 0.5243 MB / 1.096 GB, free: 268 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007093/0.8893, allocations: 0.4904 MB / 1.097 GB, free: 0 / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006005/0.8899, allocations: 0.5287 MB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002214/0.8901, allocations: 141.9 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002753/0.8904, allocations: 147.6 kB / 1.098 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002654/0.8907, allocations: 293.3 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005161/0.8912, allocations: 0.532 MB / 1.098 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001884/0.8931, allocations: 1.692 MB / 1.1 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.8931, allocations: 1.062 kB / 1.1 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8931, allocations: 0 / 1.1 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.247e-05/0.8931, allocations: 0 / 1.1 GB, free: 14.52 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.003492/0.8966, allocations: 1.479 MB / 1.101 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.8967, allocations: 8.688 kB / 1.101 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002304/0.8969, allocations: 116.8 kB / 1.102 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002118/0.899, allocations: 0.8659 MB / 1.102 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-05/0.8991, allocations: 74.8 kB / 1.102 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/0.8993, allocations: 95.06 kB / 1.103 GB, free: 13 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/0.9012, allocations: 0.8428 MB / 1.103 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.9012, allocations: 4.891 kB / 1.103 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.839e-05/0.9013, allocations: 33.53 kB / 1.103 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/0.9014, allocations: 17 kB / 1.103 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/0.9031, allocations: 0.6019 MB / 1.104 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004139/0.9073, allocations: 2.185 MB / 1.106 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/0.9091, allocations: 0.8941 MB / 1.107 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008959/0.9101, allocations: 387.8 kB / 1.107 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.354e-05/0.9101, allocations: 8.703 kB / 1.107 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001376/0.9115, allocations: 0.6263 MB / 1.108 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=92): time 3.176e-06/0.9115, allocations: 5.156 kB / 1.108 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92): time 0.003316/0.9148, allocations: 1.299 MB / 1.109 GB, free: 9.984 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.827e-05/0.9149, allocations: 115.9 kB / 1.109 GB, free: 9.859 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008975/0.9158, allocations: 0.597 MB / 1.11 GB, free: 9.562 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001376/0.916, allocations: 73.19 kB / 1.11 GB, free: 9.504 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003839/0.9164, allocations: 384.9 kB / 1.11 GB, free: 9.199 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002051/0.9166, allocations: 215.7 kB / 1.111 GB, free: 9.035 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003647/0.917, allocations: 229 kB / 1.111 GB, free: 8.934 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002367/0.9172, allocations: 397 kB / 1.111 GB, free: 8.582 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009678/0.9182, allocations: 334.2 kB / 1.112 GB, free: 8.477 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/0.9194, allocations: 0.6279 MB / 1.112 GB, free: 7.996 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002025/0.9214, allocations: 0.8856 MB / 1.113 GB, free: 7.371 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.9214, allocations: 3.719 kB / 1.113 GB, free: 7.371 MB / 0.8731 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002791/0.9242, allocations: 1.073 MB / 1.114 GB, free: 6.941 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 7.044e-05/0.9243, allocations: 38.62 kB / 1.114 GB, free: 6.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.259e-05/0.9243, allocations: 9.25 kB / 1.114 GB, free: 6.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.904e-05/0.9244, allocations: 18.48 kB / 1.114 GB, free: 6.906 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006919/0.9251, allocations: 167.1 kB / 1.114 GB, free: 6.871 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.484e-05/0.9251, allocations: 21.06 kB / 1.114 GB, free: 6.867 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009592/0.9261, allocations: 167.1 kB / 1.115 GB, free: 6.809 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.7e-05/0.9262, allocations: 52.47 kB / 1.115 GB, free: 6.797 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 111 ($PRE.sysReq.tim1.u,$PRE.sysReq.tim2.u,$PRE.sysReq.tim3.u,$PRE.sysReq.tim4.u,$PRE.sysReq.tim5.u,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 (136): * Single equations (assignments): 135 * 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.0005454/0.9267, allocations: 309 kB / 1.115 GB, free: 6.562 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/0.9269, allocations: 84.59 kB / 1.115 GB, free: 6.523 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/0.9271, allocations: 91.2 kB / 1.115 GB, free: 6.445 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/0.9271, allocations: 9.703 kB / 1.115 GB, free: 6.441 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.9271, allocations: 0 / 1.115 GB, free: 6.441 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.9273, allocations: 156.9 kB / 1.115 GB, free: 6.293 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/0.9274, allocations: 39.23 kB / 1.115 GB, free: 6.273 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006704/0.9281, allocations: 95.95 kB / 1.115 GB, free: 6.262 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003612/0.9285, allocations: 130.5 kB / 1.115 GB, free: 6.23 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002924/0.9314, allocations: 1.27 MB / 1.117 GB, free: 5.66 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002504/0.9339, allocations: 1.33 MB / 1.118 GB, free: 4.965 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001059/0.935, allocations: 486.7 kB / 1.118 GB, free: 4.785 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005171/0.9355, allocations: 374 kB / 1.119 GB, free: 4.617 MB / 0.8731 GB Notification: Performance of Backend: time 1.774e-06/0.9355, allocations: 0 / 1.119 GB, free: 4.617 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002209/0.9377, allocations: 0.7314 MB / 1.119 GB, free: 4.293 MB / 0.8731 GB Notification: Performance of SimCode: time 0.002621/0.9404, allocations: 1.713 MB / 1.121 GB, free: 3.125 MB / 0.8731 GB Notification: Performance of Templates: time 0.02641/0.9668, allocations: 12.09 MB / 1.133 GB, free: 1.164 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_SystemRequests.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches