Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.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_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.497/2.497, allocations: 393.5 MB / 408.4 MB, free: 11.08 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.001366/0.001366, allocations: 172 kB / 0.4902 GB, free: 2.242 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.709/1.709, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.001137/0.001137, allocations: 100.7 kB / 0.9396 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.00036, allocations: 10.97 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3217, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1923/0.514, allocations: 150.9 MB / 1.377 GB, free: 2.609 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/0.5144, allocations: 71.95 kB / 1.377 GB, free: 2.539 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007025/0.5214, allocations: 2.431 MB / 1.379 GB, free: 108 kB / 0.8698 GB Notification: Performance of FrontEnd: time 3.206e-06/0.5215, allocations: 4 kB / 1.379 GB, free: 104 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.5215, allocations: 0 / 1.379 GB, free: 104 kB / 0.8698 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.0007513/0.5223, allocations: 431.1 kB / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.5223, allocations: 12.56 kB / 1.379 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.156e-05/0.5224, allocations: 15.75 kB / 1.379 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.5226, allocations: 186.8 kB / 1.38 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/0.5226, allocations: 16.28 kB / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.5227, allocations: 12 kB / 1.38 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003671/0.523, allocations: 151.8 kB / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.5231, allocations: 0 / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.5231, allocations: 8 kB / 1.38 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.5231, allocations: 7.984 kB / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003708/0.5235, allocations: 140.7 kB / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000872/0.5244, allocations: 0.4927 MB / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.5247, allocations: 122.6 kB / 1.381 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.5247, allocations: 3.984 kB / 1.381 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.5248, allocations: 34.56 kB / 1.381 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=11): time 1.823e-06/0.5248, allocations: 3.938 kB / 1.381 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.000638/0.5254, allocations: 213.6 kB / 1.381 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.5255, allocations: 55.36 kB / 1.381 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.5257, allocations: 155.8 kB / 1.381 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.5257, allocations: 25.7 kB / 1.381 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.076e-05/0.5258, allocations: 119.9 kB / 1.381 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.5258, allocations: 27.61 kB / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.5258, allocations: 0 / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.526, allocations: 326.8 kB / 1.381 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.5262, allocations: 47.97 kB / 1.382 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.5263, allocations: 51.97 kB / 1.382 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.5265, allocations: 48.62 kB / 1.382 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.5265, allocations: 4 kB / 1.382 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000375/0.5269, allocations: 165.2 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.5269, allocations: 4 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.5269, allocations: 4 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.5269, allocations: 0 / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.5271, allocations: 23.98 kB / 1.382 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.5271, allocations: 3.984 kB / 1.382 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.5272, allocations: 15.89 kB / 1.382 GB, free: 13 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.5273, allocations: 11.98 kB / 1.382 GB, free: 12.99 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.0001128/0.5274, allocations: 129.8 kB / 1.382 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.5274, allocations: 11.81 kB / 1.382 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.044e-05/0.5275, allocations: 16.72 kB / 1.382 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.5275, allocations: 0 / 1.382 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.5275, allocations: 0 / 1.382 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5275, allocations: 7.922 kB / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.5278, allocations: 241.5 kB / 1.382 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.5278, allocations: 4 kB / 1.382 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.5279, allocations: 27.98 kB / 1.382 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.5279, allocations: 0 / 1.382 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.5279, allocations: 3.984 kB / 1.382 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.528, allocations: 4 kB / 1.382 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.528, allocations: 0 / 1.382 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000422/0.5284, allocations: 255.3 kB / 1.383 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.268e-05/0.5285, allocations: 88.92 kB / 1.383 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.5285, allocations: 0 / 1.383 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.5286, allocations: 15.98 kB / 1.383 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.669e-05/0.5287, allocations: 23.91 kB / 1.383 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.136e-06/0.5287, allocations: 4 kB / 1.383 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.826e-05/0.5288, allocations: 124.7 kB / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5288, allocations: 0 / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002653/0.5291, allocations: 27.94 kB / 1.383 GB, free: 11.93 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.0001746/0.5293, allocations: 120 kB / 1.383 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003959/0.5297, allocations: 127.9 kB / 1.383 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5297, allocations: 0 / 1.383 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.5299, allocations: 67.89 kB / 1.383 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.5302, allocations: 24.55 kB / 1.383 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006164/0.5308, allocations: 303.1 kB / 1.383 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.5312, allocations: 0.7158 MB / 1.384 GB, free: 10.53 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.549e-05/0.5313, allocations: 16.55 kB / 1.384 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.396e-05/0.5313, allocations: 11.44 kB / 1.384 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of SimCode: time 9.42e-07/0.5313, allocations: 0 / 1.384 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of Templates: time 0.004041/0.5354, allocations: 1.223 MB / 1.385 GB, free: 9.324 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches