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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.008329/0.008329, allocations: 100.9 kB / 15.87 MB, free: 5.867 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.002108/0.002108, allocations: 192.2 kB / 16.79 MB, free: 5.809 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.485/1.485, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.442/2.442, allocations: 390.2 MB / 0.6649 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 67.89 kB / 0.8126 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7937/0.7953, allocations: 140.4 MB / 0.9496 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002752/0.7981, allocations: 1.054 MB / 0.9507 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.7994, allocations: 0.9679 MB / 0.9516 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.7996, allocations: 2.75 kB / 0.9516 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.292e-05/0.7997, allocations: 7.875 kB / 0.9516 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001337/0.7999, allocations: 13.23 kB / 0.9516 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.8001, allocations: 61.58 kB / 0.9517 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.8003, allocations: 145.9 kB / 0.9518 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002192/0.8005, allocations: 81.2 kB / 0.9519 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001795/0.8007, allocations: 60.16 kB / 0.952 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.8008, allocations: 71.02 kB / 0.952 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.541e-05/0.8009, allocations: 16.27 kB / 0.9521 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.652e-05/0.8009, allocations: 9.406 kB / 0.9521 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.678e-05/0.801, allocations: 27.42 kB / 0.9521 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.313e-05/0.8011, allocations: 57.44 kB / 0.9522 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.8013, allocations: 151.3 kB / 0.9523 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.8013, allocations: 5.219 kB / 0.9523 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8013, allocations: 0 / 0.9523 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.8013, allocations: 0 / 0.9523 GB, free: 7.066 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.0007065/0.802, allocations: 449.7 kB / 0.9527 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.8021, allocations: 13.59 kB / 0.9527 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.319e-05/0.8021, allocations: 15.81 kB / 0.9528 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000433/0.8026, allocations: 251 kB / 0.953 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.8026, allocations: 10.06 kB / 0.953 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.8026, allocations: 13.19 kB / 0.953 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003496/0.803, allocations: 153.2 kB / 0.9532 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.803, allocations: 5.188 kB / 0.9532 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.803, allocations: 5.062 kB / 0.9532 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.8031, allocations: 7.547 kB / 0.9532 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000329/0.8034, allocations: 109.1 kB / 0.9533 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006724/0.8041, allocations: 476.8 kB / 0.9537 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.8044, allocations: 99.41 kB / 0.9538 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.8045, allocations: 57.3 kB / 0.9539 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.8046, allocations: 1.031 kB / 0.9539 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.8046, allocations: 35.84 kB / 0.9539 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.362e-06/0.8046, allocations: 0 / 0.9539 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0005593/0.8052, allocations: 166.8 kB / 0.9541 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.8052, allocations: 57.94 kB / 0.9541 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.8053, allocations: 152.8 kB / 0.9543 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.8054, allocations: 31.14 kB / 0.9543 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.325e-05/0.8054, allocations: 118.8 kB / 0.9544 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.8054, allocations: 31.55 kB / 0.9545 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.86e-05/0.8055, allocations: 38.3 kB / 0.9545 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.395e-05/0.8056, allocations: 325.4 kB / 0.9548 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.8057, allocations: 46.53 kB / 0.9548 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.8059, allocations: 69.83 kB / 0.9549 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.8062, allocations: 109.6 kB / 0.955 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.8062, allocations: 0 / 0.955 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003543/0.8066, allocations: 143.2 kB / 0.9552 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.8066, allocations: 6.25 kB / 0.9552 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.8066, allocations: 3.938 kB / 0.9552 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.8066, allocations: 5.797 kB / 0.9552 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.8068, allocations: 30.48 kB / 0.9552 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.8068, allocations: 2.062 kB / 0.9552 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.8069, allocations: 22.14 kB / 0.9552 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.807, allocations: 8.125 kB / 0.9552 GB, free: 4.523 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.984e-05/0.8071, allocations: 126.4 kB / 0.9554 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.827e-05/0.8071, allocations: 8.719 kB / 0.9554 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.514e-05/0.8071, allocations: 18.89 kB / 0.9554 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.8071, allocations: 6.469 kB / 0.9554 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.8072, allocations: 0 / 0.9554 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.8072, allocations: 0 / 0.9554 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.8074, allocations: 241.3 kB / 0.9556 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.8074, allocations: 0 / 0.9556 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.8075, allocations: 22.48 kB / 0.9556 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.8075, allocations: 1.344 kB / 0.9556 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.8075, allocations: 5.281 kB / 0.9556 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.8075, allocations: 0 / 0.9556 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.8076, allocations: 0 / 0.9556 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003405/0.8079, allocations: 237.5 kB / 0.9559 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.925e-05/0.8079, allocations: 84.67 kB / 0.956 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.808, allocations: 9.203 kB / 0.956 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.8081, allocations: 4.75 kB / 0.956 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.765e-05/0.8082, allocations: 19.41 kB / 0.956 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.8082, allocations: 5.219 kB / 0.956 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.05e-05/0.8082, allocations: 117.9 kB / 0.9561 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8083, allocations: 0 / 0.9561 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002659/0.8085, allocations: 25.72 kB / 0.9561 GB, free: 3.691 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.0001273/0.8087, allocations: 106.7 kB / 0.9562 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000369/0.809, allocations: 114.8 kB / 0.9563 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.809, allocations: 0 / 0.9563 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.8092, allocations: 55.59 kB / 0.9564 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.8096, allocations: 14.45 kB / 0.9564 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005785/0.8102, allocations: 330.6 kB / 0.9567 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/0.8103, allocations: 0.7133 MB / 0.9574 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.884e-05/0.8104, allocations: 21.98 kB / 0.9574 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of SimCode: time 8.21e-07/0.8104, allocations: 0 / 0.9574 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of Templates: time 0.003635/0.814, allocations: 1.623 MB / 0.959 GB, free: 1.676 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/jenkins1/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