Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 115 kB / 16.42 MB, free: 6.5 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.002074/0.002074, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.421/1.421, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.81/2.81, allocations: 472.7 MB / 0.746 GB, free: 452 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 67.84 kB / 1.07 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.954/0.9557, allocations: 159.9 MB / 1.226 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002941/0.9587, allocations: 1.013 MB / 1.227 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.9602, allocations: 0.9686 MB / 1.228 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.9603, allocations: 0 / 1.228 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 6.881e-05/0.9604, allocations: 23.73 kB / 1.228 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001465/0.9606, allocations: 23.78 kB / 1.228 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000272/0.9609, allocations: 67.88 kB / 1.228 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.9611, allocations: 168 kB / 1.229 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002278/0.9614, allocations: 84.17 kB / 1.229 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.9616, allocations: 67.72 kB / 1.229 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.9617, allocations: 75.66 kB / 1.229 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.999e-05/0.9618, allocations: 20 kB / 1.229 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 3.114e-05/0.9618, allocations: 20 kB / 1.229 GB, free: 11 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.082e-05/0.9619, allocations: 35.86 kB / 1.229 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.068e-05/0.9619, allocations: 75.59 kB / 1.229 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003087/0.9623, allocations: 211.6 kB / 1.229 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.9623, allocations: 0 / 1.229 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.954e-06/0.9623, allocations: 0 / 1.229 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.9623, allocations: 0 / 1.229 GB, free: 10.69 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0007369/0.963, allocations: 454.7 kB / 1.23 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.9631, allocations: 12.03 kB / 1.23 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.477e-05/0.9632, allocations: 28.8 kB / 1.23 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004458/0.9636, allocations: 252 kB / 1.23 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.9636, allocations: 12.38 kB / 1.23 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.9637, allocations: 12.38 kB / 1.23 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003397/0.964, allocations: 150 kB / 1.23 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.964, allocations: 192 / 1.23 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.9641, allocations: 11.94 kB / 1.23 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.9641, allocations: 4 kB / 1.23 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003283/0.9644, allocations: 115.9 kB / 1.23 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006912/0.9651, allocations: 480.2 kB / 1.231 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/0.9654, allocations: 138.4 kB / 1.231 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.9656, allocations: 48.83 kB / 1.231 GB, free: 8.852 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.9656, allocations: 4 kB / 1.231 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.9657, allocations: 34.56 kB / 1.231 GB, free: 8.805 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/0.9657, allocations: 0 / 1.231 GB, free: 8.805 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12): time 0.0005462/0.9662, allocations: 177.4 kB / 1.231 GB, free: 8.625 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.9663, allocations: 55.41 kB / 1.231 GB, free: 8.559 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.9664, allocations: 157.1 kB / 1.231 GB, free: 8.391 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.9664, allocations: 29.7 kB / 1.231 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.033e-05/0.9665, allocations: 124.3 kB / 1.231 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.9666, allocations: 35.69 kB / 1.231 GB, free: 8.191 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.579e-05/0.9666, allocations: 41.7 kB / 1.231 GB, free: 8.145 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.9668, allocations: 326.8 kB / 1.232 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.9669, allocations: 39.97 kB / 1.232 GB, free: 7.777 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.9671, allocations: 71.39 kB / 1.232 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.9673, allocations: 115.3 kB / 1.232 GB, free: 7.57 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.9674, allocations: 0 / 1.232 GB, free: 7.57 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003559/0.9677, allocations: 157.5 kB / 1.232 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.9677, allocations: 4 kB / 1.232 GB, free: 7.406 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.9678, allocations: 4 kB / 1.232 GB, free: 7.402 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.9678, allocations: 0 / 1.232 GB, free: 7.402 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.968, allocations: 31.91 kB / 1.232 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.968, allocations: 0 / 1.232 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.9681, allocations: 19.89 kB / 1.232 GB, free: 7.352 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.9681, allocations: 7.984 kB / 1.232 GB, free: 7.344 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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.000129/0.9682, allocations: 134.3 kB / 1.232 GB, free: 7.203 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.9683, allocations: 11.91 kB / 1.232 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.985e-05/0.9683, allocations: 16.72 kB / 1.232 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.9684, allocations: 3.984 kB / 1.232 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.9684, allocations: 0 / 1.232 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.211e-05/0.9684, allocations: 92.98 kB / 1.232 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.9685, allocations: 4 kB / 1.232 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.9686, allocations: 15.92 kB / 1.232 GB, free: 7.039 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.125e-05/0.9687, allocations: 15.98 kB / 1.232 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004368/0.9691, allocations: 212.8 kB / 1.233 GB, free: 6.809 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004056/0.9695, allocations: 319.2 kB / 1.233 GB, free: 6.48 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001555/0.9697, allocations: 64 kB / 1.233 GB, free: 6.418 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.322e-05/0.9698, allocations: 110 kB / 1.233 GB, free: 6.312 MB / 0.9512 GB Notification: Performance of Backend: time 3.81e-07/0.9698, allocations: 0 / 1.233 GB, free: 6.312 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005269/0.9703, allocations: 159.8 kB / 1.233 GB, free: 6.152 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0008474/0.9712, allocations: 0.6995 MB / 1.234 GB, free: 5.406 MB / 0.9512 GB Notification: Performance of Templates: time 0.004874/0.9761, allocations: 1.393 MB / 1.235 GB, free: 4.059 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches