Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.SeriesFanVVF.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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001553/0.001554, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 223.2 MB / 239.9 MB, free: 5.359 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.351/2.351, allocations: 390.3 MB / 0.6653 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003096, allocations: 12 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6416/0.6419, allocations: 142.3 MB / 0.9536 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.001158/0.6431, allocations: 0.6745 MB / 0.9542 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009324/0.6441, allocations: 0.9594 MB / 0.9552 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.457e-05/0.6441, allocations: 1.406 kB / 0.9552 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.531e-05/0.6442, allocations: 11.86 kB / 0.9552 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.6443, allocations: 19.88 kB / 0.9552 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.6445, allocations: 45.3 kB / 0.9552 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.6446, allocations: 87.89 kB / 0.9553 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.6448, allocations: 64.61 kB / 0.9554 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.6449, allocations: 51.52 kB / 0.9554 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.645, allocations: 50.48 kB / 0.9555 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.6451, allocations: 4.094 kB / 0.9555 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.053e-05/0.6451, allocations: 4.125 kB / 0.9555 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.484e-05/0.6451, allocations: 19.8 kB / 0.9555 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.553e-05/0.6452, allocations: 48.77 kB / 0.9555 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.6453, allocations: 146.6 kB / 0.9557 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.6453, allocations: 1.312 kB / 0.9557 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6453, allocations: 0 / 0.9557 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.6453, allocations: 0 / 0.9557 GB, free: 6.395 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.0005722/0.6459, allocations: 427.1 kB / 0.9561 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.646, allocations: 18.28 kB / 0.9561 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.401e-05/0.646, allocations: 18.92 kB / 0.9561 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000425/0.6465, allocations: 260.6 kB / 0.9564 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.6465, allocations: 9.906 kB / 0.9564 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.6465, allocations: 12.53 kB / 0.9564 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.6469, allocations: 152.4 kB / 0.9565 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.6469, allocations: 1.219 kB / 0.9565 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.6469, allocations: 9.016 kB / 0.9566 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.6469, allocations: 2.938 kB / 0.9566 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003485/0.6473, allocations: 124 kB / 0.9567 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006182/0.6479, allocations: 473.6 kB / 0.9571 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.6482, allocations: 107.3 kB / 0.9572 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.6482, allocations: 1.031 kB / 0.9572 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.6482, allocations: 35.78 kB / 0.9573 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.203e-06/0.6482, allocations: 1.188 kB / 0.9573 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0005495/0.6488, allocations: 198.4 kB / 0.9575 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.6488, allocations: 52.75 kB / 0.9575 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.649, allocations: 154.2 kB / 0.9577 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.649, allocations: 29.7 kB / 0.9577 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.242e-05/0.649, allocations: 118.4 kB / 0.9578 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.6491, allocations: 36.41 kB / 0.9578 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/0.6491, allocations: 0 / 0.9578 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.281e-05/0.6491, allocations: 325.9 kB / 0.9581 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.6493, allocations: 47.69 kB / 0.9582 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.6494, allocations: 78.89 kB / 0.9583 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.6496, allocations: 43.33 kB / 0.9583 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.6496, allocations: 0 / 0.9583 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003333/0.6499, allocations: 167 kB / 0.9585 GB, free: 4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.65, allocations: 6.406 kB / 0.9585 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.65, allocations: 1.469 kB / 0.9585 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.65, allocations: 9.469 kB / 0.9585 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.6502, allocations: 29.52 kB / 0.9585 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.6502, allocations: 1.156 kB / 0.9585 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.761e-05/0.6503, allocations: 17.05 kB / 0.9585 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.6503, allocations: 8.25 kB / 0.9585 GB, free: 3.973 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 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,reaToInt2.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.854e-05/0.6504, allocations: 130.4 kB / 0.9587 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.6504, allocations: 9.031 kB / 0.9587 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.387e-05/0.6505, allocations: 22.45 kB / 0.9587 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.6505, allocations: 2.344 kB / 0.9587 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.6505, allocations: 7.891 kB / 0.9587 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.6505, allocations: 0 / 0.9587 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.6507, allocations: 233.8 kB / 0.9589 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.6507, allocations: 0 / 0.9589 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.6508, allocations: 22.08 kB / 0.9589 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.6508, allocations: 0 / 0.9589 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.6509, allocations: 1.812 kB / 0.9589 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.6509, allocations: 7.938 kB / 0.9589 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.6509, allocations: 0 / 0.9589 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/0.6512, allocations: 240.4 kB / 0.9592 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.916e-05/0.6513, allocations: 83.67 kB / 0.9593 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.6513, allocations: 5.109 kB / 0.9593 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.6514, allocations: 11.69 kB / 0.9593 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.488e-05/0.6515, allocations: 22.88 kB / 0.9593 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.6515, allocations: 2.75 kB / 0.9593 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.684e-05/0.6516, allocations: 115.6 kB / 0.9594 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6516, allocations: 0 / 0.9594 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002524/0.6518, allocations: 33.72 kB / 0.9594 GB, free: 3.141 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001199/0.652, allocations: 106.4 kB / 0.9595 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003639/0.6523, allocations: 120.2 kB / 0.9597 GB, free: 3 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.6523, allocations: 0 / 0.9597 GB, free: 3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.6525, allocations: 58.47 kB / 0.9597 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.6527, allocations: 13.92 kB / 0.9597 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004708/0.6532, allocations: 315.2 kB / 0.96 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.6534, allocations: 0.719 MB / 0.9607 GB, free: 2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.198e-05/0.6535, allocations: 22.22 kB / 0.9607 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.643e-05/0.6535, allocations: 17.95 kB / 0.9608 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.6535, allocations: 3.938 kB / 0.9608 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of Templates: time 0.003499/0.657, allocations: 1.032 MB / 0.9618 GB, free: 1.48 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches