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.001385/0.001386, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001327/0.001327, allocations: 194.8 kB / 16.25 MB, free: 6.625 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.46/1.46, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.474/2.474, allocations: 390.2 MB / 0.6643 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.91 kB / 0.8121 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7453/0.7466, allocations: 140.4 MB / 0.9491 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002925/0.7496, allocations: 1.059 MB / 0.9502 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.7508, allocations: 0.9648 MB / 0.9511 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.277e-05/0.7508, allocations: 1.375 kB / 0.9511 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.36e-05/0.7509, allocations: 11.86 kB / 0.9511 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.751, allocations: 18.59 kB / 0.9512 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.7513, allocations: 57.59 kB / 0.9512 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.7515, allocations: 156 kB / 0.9514 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002302/0.7517, allocations: 83.92 kB / 0.9514 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.7519, allocations: 68.86 kB / 0.9515 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.752, allocations: 75.22 kB / 0.9516 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.601e-05/0.7521, allocations: 15.78 kB / 0.9516 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.857e-05/0.7521, allocations: 20.06 kB / 0.9516 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.318e-05/0.7522, allocations: 31.84 kB / 0.9516 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.807e-05/0.7522, allocations: 73.12 kB / 0.9517 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.7524, allocations: 198.1 kB / 0.9519 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.7524, allocations: 0 / 0.9519 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.724e-06/0.7525, allocations: 0 / 0.9519 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.884e-06/0.7525, allocations: 0 / 0.9519 GB, free: 7.031 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.0006157/0.7531, allocations: 445.5 kB / 0.9523 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.7531, allocations: 13.66 kB / 0.9523 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.669e-05/0.7532, allocations: 21 kB / 0.9524 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000385/0.7536, allocations: 245.3 kB / 0.9526 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.7536, allocations: 10.53 kB / 0.9526 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.7536, allocations: 13.22 kB / 0.9526 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000337/0.754, allocations: 149.8 kB / 0.9528 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.754, allocations: 0 / 0.9528 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.754, allocations: 9.344 kB / 0.9528 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.754, allocations: 2.625 kB / 0.9528 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00035/0.7544, allocations: 109.9 kB / 0.9529 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006622/0.7551, allocations: 481.3 kB / 0.9533 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/0.7554, allocations: 103.6 kB / 0.9534 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.7555, allocations: 49.27 kB / 0.9535 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.7555, allocations: 5.156 kB / 0.9535 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.7556, allocations: 44.08 kB / 0.9535 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.143e-06/0.7556, allocations: 0 / 0.9535 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0006052/0.7562, allocations: 162.3 kB / 0.9537 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.7562, allocations: 57.28 kB / 0.9537 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.7564, allocations: 159.9 kB / 0.9539 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.7565, allocations: 26.58 kB / 0.9539 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.534e-05/0.7566, allocations: 126.8 kB / 0.954 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.7566, allocations: 31.73 kB / 0.9541 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.662e-05/0.7567, allocations: 38.7 kB / 0.9541 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.936e-05/0.7568, allocations: 325.1 kB / 0.9544 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.7569, allocations: 38.06 kB / 0.9544 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.7571, allocations: 78.14 kB / 0.9545 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/0.7574, allocations: 105.2 kB / 0.9546 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.7574, allocations: 1.219 kB / 0.9546 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003298/0.7577, allocations: 150.6 kB / 0.9548 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.7577, allocations: 10.27 kB / 0.9548 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.7577, allocations: 5 kB / 0.9548 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.7578, allocations: 0.9375 kB / 0.9548 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.7579, allocations: 27.2 kB / 0.9548 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.7579, allocations: 1.156 kB / 0.9548 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.453e-05/0.758, allocations: 22.67 kB / 0.9548 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.7581, allocations: 8.406 kB / 0.9548 GB, free: 4.48 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 8.907e-05/0.7582, allocations: 127.1 kB / 0.955 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.7582, allocations: 8.625 kB / 0.955 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/0.7582, allocations: 19.02 kB / 0.955 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.7582, allocations: 6.531 kB / 0.955 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.7583, allocations: 0 / 0.955 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.7583, allocations: 0 / 0.955 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.7585, allocations: 237.2 kB / 0.9552 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.7585, allocations: 1.125 kB / 0.9552 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.7586, allocations: 17.48 kB / 0.9552 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.7586, allocations: 5.062 kB / 0.9552 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.7586, allocations: 5.094 kB / 0.9552 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.7587, allocations: 0 / 0.9552 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7587, allocations: 1.219 kB / 0.9552 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003984/0.7591, allocations: 228.3 kB / 0.9555 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.085e-05/0.7591, allocations: 88.69 kB / 0.9555 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.7591, allocations: 1.062 kB / 0.9555 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.7593, allocations: 9.438 kB / 0.9556 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.33e-05/0.7593, allocations: 17.66 kB / 0.9556 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.7594, allocations: 6.344 kB / 0.9556 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.95e-05/0.7594, allocations: 118.2 kB / 0.9557 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7594, allocations: 0 / 0.9557 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002464/0.7597, allocations: 26.19 kB / 0.9557 GB, free: 3.66 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.0001439/0.7598, allocations: 105.8 kB / 0.9558 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003697/0.7602, allocations: 114.5 kB / 0.9559 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.7602, allocations: 0 / 0.9559 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.7604, allocations: 57.88 kB / 0.956 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.7607, allocations: 20.27 kB / 0.956 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005269/0.7613, allocations: 307.3 kB / 0.9563 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.7614, allocations: 0.7174 MB / 0.957 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.426e-05/0.7615, allocations: 13.11 kB / 0.957 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.162e-05/0.7616, allocations: 24.86 kB / 0.957 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of SimCode: time 3.8e-07/0.7616, allocations: 0 / 0.957 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of Templates: time 0.003859/0.7654, allocations: 1.13 MB / 0.9581 GB, free: 1.949 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