Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.433/2.433, allocations: 393.5 MB / 408.4 MB, free: 11.06 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 176 kB / 0.4902 GB, free: 2.266 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 223.1 MB / 0.7992 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 100.3 kB / 0.9396 GB, free: 2.828 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004955/0.0004954, allocations: 9.203 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3262, allocations: 143 MB / 1.229 GB, free: 85.42 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2149/0.5412, allocations: 150.9 MB / 1.377 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.5415, allocations: 75.94 kB / 1.377 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.006622/0.5482, allocations: 2.43 MB / 1.379 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.835e-06/0.5482, allocations: 0 / 1.379 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.5482, allocations: 0 / 1.379 GB, free: 11.86 MB / 0.8855 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.0007291/0.549, allocations: 435.1 kB / 1.379 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/0.549, allocations: 12.5 kB / 1.379 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.629e-05/0.5491, allocations: 19.72 kB / 1.379 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.5493, allocations: 187.8 kB / 1.38 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/0.5494, allocations: 12.28 kB / 1.38 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.5494, allocations: 12 kB / 1.38 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004066/0.5498, allocations: 155.8 kB / 1.38 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.5499, allocations: 0 / 1.38 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/0.5499, allocations: 11.98 kB / 1.38 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.5499, allocations: 7.938 kB / 1.38 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003948/0.5503, allocations: 140.7 kB / 1.38 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009284/0.5512, allocations: 0.4926 MB / 1.38 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003305/0.5516, allocations: 126.6 kB / 1.381 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.5516, allocations: 0 / 1.381 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.5517, allocations: 38.56 kB / 1.381 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.5517, allocations: 0 / 1.381 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.0006264/0.5523, allocations: 209.6 kB / 1.381 GB, free: 9.859 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.5523, allocations: 55.36 kB / 1.381 GB, free: 9.793 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.5525, allocations: 152.4 kB / 1.381 GB, free: 9.637 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.5525, allocations: 29.7 kB / 1.381 GB, free: 9.602 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.071e-05/0.5526, allocations: 111.9 kB / 1.381 GB, free: 9.488 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/0.5527, allocations: 35.62 kB / 1.381 GB, free: 9.453 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-06/0.5527, allocations: 0 / 1.381 GB, free: 9.453 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.5528, allocations: 326.8 kB / 1.381 GB, free: 9.125 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.553, allocations: 47.97 kB / 1.382 GB, free: 9.078 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.5531, allocations: 52.41 kB / 1.382 GB, free: 9.027 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.5533, allocations: 52.12 kB / 1.382 GB, free: 8.977 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5533, allocations: 0 / 1.382 GB, free: 8.977 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003714/0.5537, allocations: 165.3 kB / 1.382 GB, free: 8.809 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.5537, allocations: 4 kB / 1.382 GB, free: 8.805 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5537, allocations: 0 / 1.382 GB, free: 8.805 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.5538, allocations: 0 / 1.382 GB, free: 8.805 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.554, allocations: 31.97 kB / 1.382 GB, free: 8.773 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.554, allocations: 0 / 1.382 GB, free: 8.773 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.5541, allocations: 15.95 kB / 1.382 GB, free: 8.758 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.5541, allocations: 7.984 kB / 1.382 GB, free: 8.75 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001626/0.5543, allocations: 125.2 kB / 1.382 GB, free: 8.621 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.5543, allocations: 11.81 kB / 1.382 GB, free: 8.609 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.845e-05/0.5544, allocations: 16.72 kB / 1.382 GB, free: 8.594 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/0.5544, allocations: 3.984 kB / 1.382 GB, free: 8.59 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5544, allocations: 3.938 kB / 1.382 GB, free: 8.586 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.5544, allocations: 3.984 kB / 1.382 GB, free: 8.582 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003427/0.5548, allocations: 245.5 kB / 1.382 GB, free: 8.293 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.5548, allocations: 11.94 kB / 1.382 GB, free: 8.281 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.555, allocations: 19.98 kB / 1.382 GB, free: 8.262 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.555, allocations: 0 / 1.382 GB, free: 8.262 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.555, allocations: 11.92 kB / 1.382 GB, free: 8.25 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.555, allocations: 4 kB / 1.382 GB, free: 8.246 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.555, allocations: 0 / 1.382 GB, free: 8.246 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004668/0.5555, allocations: 247.3 kB / 1.383 GB, free: 7.988 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.211e-05/0.5556, allocations: 96.86 kB / 1.383 GB, free: 7.875 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.5556, allocations: 0 / 1.383 GB, free: 7.875 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.5558, allocations: 19.92 kB / 1.383 GB, free: 7.855 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.43e-05/0.5559, allocations: 23.91 kB / 1.383 GB, free: 7.832 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.5559, allocations: 4 kB / 1.383 GB, free: 7.828 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001014/0.556, allocations: 124.7 kB / 1.383 GB, free: 7.707 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.51e-07/0.556, allocations: 0 / 1.383 GB, free: 7.707 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000246/0.5562, allocations: 24 kB / 1.383 GB, free: 7.684 MB / 0.8855 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.uOpeMod,actAirSet.actCooMax.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.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.0001917/0.5564, allocations: 112 kB / 1.383 GB, free: 7.566 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004174/0.5569, allocations: 119.9 kB / 1.383 GB, free: 7.449 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5569, allocations: 3.938 kB / 1.383 GB, free: 7.445 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.5571, allocations: 71.91 kB / 1.383 GB, free: 7.375 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.5574, allocations: 19.94 kB / 1.383 GB, free: 7.355 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006462/0.558, allocations: 302.9 kB / 1.383 GB, free: 7.031 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.5584, allocations: 0.7235 MB / 1.384 GB, free: 6.281 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.92e-05/0.5585, allocations: 12.55 kB / 1.384 GB, free: 6.27 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.068e-05/0.5585, allocations: 11.44 kB / 1.384 GB, free: 6.258 MB / 0.8855 GB Notification: Performance of SimCode: time 2.71e-07/0.5585, allocations: 4 kB / 1.384 GB, free: 6.254 MB / 0.8855 GB Notification: Performance of Templates: time 0.003942/0.5625, allocations: 1.234 MB / 1.385 GB, free: 5.07 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches