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.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 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.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_9_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_9_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.001584/0.001584, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001952/0.001952, allocations: 192.6 kB / 16.14 MB, free: 6.711 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.448/1.448, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.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.576/2.576, allocations: 390.2 MB / 0.6642 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001227, allocations: 59.91 kB / 0.8119 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7426/0.7438, allocations: 140.4 MB / 0.949 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002651/0.7465, allocations: 1.056 MB / 0.95 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.7477, allocations: 0.9725 MB / 0.9509 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.762e-05/0.7479, allocations: 1.375 kB / 0.951 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.698e-05/0.7479, allocations: 11.86 kB / 0.951 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001161/0.748, allocations: 10.62 kB / 0.951 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.7483, allocations: 56.19 kB / 0.951 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000169/0.7484, allocations: 150.8 kB / 0.9512 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002173/0.7487, allocations: 81.05 kB / 0.9512 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.7488, allocations: 63.95 kB / 0.9513 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.749, allocations: 63.81 kB / 0.9514 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.749, allocations: 8.969 kB / 0.9514 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.567e-05/0.749, allocations: 8.156 kB / 0.9514 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.167e-05/0.7491, allocations: 35.64 kB / 0.9514 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.448e-05/0.7492, allocations: 62.3 kB / 0.9515 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.7494, allocations: 187 kB / 0.9517 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.7494, allocations: 0 / 0.9517 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.875e-06/0.7494, allocations: 1.375 kB / 0.9517 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.7494, allocations: 0 / 0.9517 GB, free: 6.945 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0007258/0.7501, allocations: 445 kB / 0.9521 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.993e-05/0.7502, allocations: 8.875 kB / 0.9521 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.586e-05/0.7503, allocations: 25.61 kB / 0.9521 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004333/0.7507, allocations: 252.4 kB / 0.9524 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.7507, allocations: 11.19 kB / 0.9524 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.481e-05/0.7508, allocations: 13.59 kB / 0.9524 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003511/0.7511, allocations: 152.6 kB / 0.9525 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.7512, allocations: 0 / 0.9525 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.7512, allocations: 9.328 kB / 0.9525 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.7512, allocations: 8.031 kB / 0.9525 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003585/0.7516, allocations: 113.4 kB / 0.9526 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006887/0.7523, allocations: 477.1 kB / 0.9531 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.7526, allocations: 102 kB / 0.9532 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.7527, allocations: 49.67 kB / 0.9532 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.7528, allocations: 1.188 kB / 0.9533 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.7528, allocations: 35.66 kB / 0.9533 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.7528, allocations: 0 / 0.9533 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0005667/0.7534, allocations: 171.1 kB / 0.9534 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.7534, allocations: 53.75 kB / 0.9535 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.7535, allocations: 152.6 kB / 0.9536 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.7536, allocations: 30.8 kB / 0.9537 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.038e-05/0.7536, allocations: 122.9 kB / 0.9538 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.7537, allocations: 31.58 kB / 0.9538 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.997e-05/0.7537, allocations: 35.05 kB / 0.9539 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.53e-05/0.7538, allocations: 329 kB / 0.9542 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.754, allocations: 38.94 kB / 0.9542 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.7542, allocations: 77.27 kB / 0.9543 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003066/0.7545, allocations: 110.1 kB / 0.9544 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.7545, allocations: 0 / 0.9544 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003997/0.7549, allocations: 152 kB / 0.9545 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.7549, allocations: 5.125 kB / 0.9545 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.7549, allocations: 1.406 kB / 0.9545 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.755, allocations: 1.281 kB / 0.9545 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.7551, allocations: 30.41 kB / 0.9546 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.7551, allocations: 1.219 kB / 0.9546 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.93e-05/0.7552, allocations: 22.98 kB / 0.9546 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.7553, allocations: 7.969 kB / 0.9546 GB, free: 4.395 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (reaToInt2.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 (14): * Single equations (assignments): 14 * 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.000113/0.7554, allocations: 128.5 kB / 0.9547 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.191e-05/0.7554, allocations: 11.59 kB / 0.9547 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.509e-05/0.7555, allocations: 19.27 kB / 0.9547 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.7555, allocations: 1.219 kB / 0.9547 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.7555, allocations: 5.094 kB / 0.9548 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.7555, allocations: 0 / 0.9548 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002252/0.7557, allocations: 236.9 kB / 0.955 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.7557, allocations: 5.047 kB / 0.955 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.7559, allocations: 17.27 kB / 0.955 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.7559, allocations: 1.219 kB / 0.955 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.7559, allocations: 1.281 kB / 0.955 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.7559, allocations: 1.188 kB / 0.955 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.7559, allocations: 7.938 kB / 0.955 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003494/0.7563, allocations: 232.4 kB / 0.9552 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.952e-05/0.7563, allocations: 84.73 kB / 0.9553 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.7563, allocations: 0.9688 kB / 0.9553 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.7564, allocations: 9.359 kB / 0.9553 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.372e-05/0.7565, allocations: 22.81 kB / 0.9553 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.7565, allocations: 5.344 kB / 0.9554 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.334e-05/0.7566, allocations: 114.3 kB / 0.9555 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7566, allocations: 4 kB / 0.9555 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002562/0.7569, allocations: 28.75 kB / 0.9555 GB, free: 3.559 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.0001499/0.757, allocations: 102.1 kB / 0.9556 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003499/0.7574, allocations: 105.6 kB / 0.9557 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7574, allocations: 192 / 0.9557 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.7576, allocations: 61.09 kB / 0.9557 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.758, allocations: 13.73 kB / 0.9558 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005687/0.7585, allocations: 302.4 kB / 0.956 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.7588, allocations: 0.7109 MB / 0.9567 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001025/0.7589, allocations: 20.61 kB / 0.9568 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.7589, allocations: 19.95 kB / 0.9568 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.7589, allocations: 0 / 0.9568 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of Templates: time 0.004598/0.7635, allocations: 1.081 MB / 0.9578 GB, free: 1.895 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches