Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.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.ParallelFanCVF.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.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.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.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 99.86 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.001395/0.001395, allocations: 177.3 kB / 15.94 MB, free: 228 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.328/1.328, allocations: 223.2 MB / 239.9 MB, free: 5.312 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.282/2.282, allocations: 390.3 MB / 0.6653 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000336/0.0003361, allocations: 19.97 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6721/0.6725, allocations: 142.3 MB / 0.9536 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.001056/0.6736, allocations: 0.6733 MB / 0.9542 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000997/0.6746, allocations: 0.9552 MB / 0.9552 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.803e-05/0.6747, allocations: 1.375 kB / 0.9552 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.491e-05/0.6747, allocations: 12.98 kB / 0.9552 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.6748, allocations: 22.78 kB / 0.9552 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.675, allocations: 41.27 kB / 0.9552 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.6751, allocations: 89.41 kB / 0.9553 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.6753, allocations: 57.28 kB / 0.9554 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.6754, allocations: 52.58 kB / 0.9554 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.394e-05/0.6755, allocations: 53.31 kB / 0.9555 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.6755, allocations: 4.219 kB / 0.9555 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.675e-05/0.6755, allocations: 4.094 kB / 0.9555 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.004e-05/0.6756, allocations: 17.39 kB / 0.9555 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.6756, allocations: 43.2 kB / 0.9555 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.6757, allocations: 151.9 kB / 0.9557 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.6757, allocations: 3.938 kB / 0.9557 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.983e-06/0.6757, allocations: 0 / 0.9557 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.956e-06/0.6758, allocations: 4 kB / 0.9557 GB, free: 6.402 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.0005225/0.6763, allocations: 432.5 kB / 0.9561 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.6763, allocations: 12.81 kB / 0.9561 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.6764, allocations: 18.98 kB / 0.9561 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003871/0.6768, allocations: 265.2 kB / 0.9564 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.6768, allocations: 9.969 kB / 0.9564 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.6768, allocations: 12.5 kB / 0.9564 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003181/0.6772, allocations: 145.7 kB / 0.9565 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.6772, allocations: 0 / 0.9565 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.6772, allocations: 9.047 kB / 0.9566 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.6772, allocations: 2.938 kB / 0.9566 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003349/0.6776, allocations: 128 kB / 0.9567 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005562/0.6781, allocations: 473.6 kB / 0.9571 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.6784, allocations: 107.2 kB / 0.9572 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.6784, allocations: 2.219 kB / 0.9572 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.6784, allocations: 35.84 kB / 0.9573 GB, free: 5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.6785, allocations: 0 / 0.9573 GB, free: 5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0005322/0.679, allocations: 194.5 kB / 0.9575 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.263e-05/0.679, allocations: 53.91 kB / 0.9575 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.6791, allocations: 154.1 kB / 0.9577 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.6791, allocations: 32.27 kB / 0.9577 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.436e-05/0.6792, allocations: 113.2 kB / 0.9578 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.6792, allocations: 28.91 kB / 0.9578 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-06/0.6792, allocations: 4 kB / 0.9578 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.998e-05/0.6793, allocations: 322.2 kB / 0.9581 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.6795, allocations: 51.36 kB / 0.9582 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.6796, allocations: 70.16 kB / 0.9582 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.6798, allocations: 60.59 kB / 0.9583 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6798, allocations: 0 / 0.9583 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003375/0.6801, allocations: 158.2 kB / 0.9585 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.6801, allocations: 5.938 kB / 0.9585 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.6802, allocations: 1.469 kB / 0.9585 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.6802, allocations: 5.578 kB / 0.9585 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.6803, allocations: 29.16 kB / 0.9585 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.6804, allocations: 6.688 kB / 0.9585 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.818e-05/0.6805, allocations: 20.81 kB / 0.9585 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.6805, allocations: 7.922 kB / 0.9585 GB, free: 3.984 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 7.981e-05/0.6806, allocations: 132.9 kB / 0.9587 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.6806, allocations: 13.47 kB / 0.9587 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.069e-05/0.6806, allocations: 14.12 kB / 0.9587 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.6807, allocations: 2.594 kB / 0.9587 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.6807, allocations: 7.891 kB / 0.9587 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.6807, allocations: 3.984 kB / 0.9587 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.6809, allocations: 233.4 kB / 0.9589 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.6809, allocations: 0 / 0.9589 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.681, allocations: 30.12 kB / 0.9589 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.681, allocations: 0 / 0.9589 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.681, allocations: 1.938 kB / 0.959 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.681, allocations: 0 / 0.959 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.681, allocations: 0 / 0.959 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.6814, allocations: 240.6 kB / 0.9592 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.229e-05/0.6814, allocations: 83.67 kB / 0.9593 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.6814, allocations: 1.125 kB / 0.9593 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.6815, allocations: 18.45 kB / 0.9593 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.806e-05/0.6816, allocations: 20.03 kB / 0.9593 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.6816, allocations: 6.75 kB / 0.9593 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.848e-05/0.6817, allocations: 111.1 kB / 0.9594 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6817, allocations: 0 / 0.9594 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002538/0.6819, allocations: 29.72 kB / 0.9594 GB, free: 3.156 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 9.845e-05/0.682, allocations: 117.2 kB / 0.9596 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003385/0.6824, allocations: 111.4 kB / 0.9597 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.6824, allocations: 1.375 kB / 0.9597 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.6826, allocations: 66.64 kB / 0.9597 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.6828, allocations: 8.125 kB / 0.9597 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004255/0.6832, allocations: 311.3 kB / 0.96 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.6834, allocations: 0.7238 MB / 0.9607 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.03e-05/0.6835, allocations: 21.09 kB / 0.9608 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.37e-05/0.6835, allocations: 14.88 kB / 0.9608 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.6835, allocations: 0 / 0.9608 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of Templates: time 0.003323/0.6868, allocations: 1.041 MB / 0.9618 GB, free: 1.492 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches