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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.448/2.448, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001156/0.001157, allocations: 177.1 kB / 498.1 MB, free: 5.758 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.55/1.55, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.0009589/0.000959, allocations: 99.77 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004124/0.0004126, allocations: 8.594 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2949, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1939/0.4889, allocations: 150.1 MB / 1.369 GB, free: 11.99 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.4892, allocations: 71.95 kB / 1.37 GB, free: 11.92 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006472/0.4957, allocations: 2.431 MB / 1.372 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.824e-06/0.4957, allocations: 8 kB / 1.372 GB, free: 9.484 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.4958, allocations: 0 / 1.372 GB, free: 9.484 MB / 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.0005984/0.4964, allocations: 435 kB / 1.372 GB, free: 9.008 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.4964, allocations: 8.031 kB / 1.372 GB, free: 9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/0.4965, allocations: 15.81 kB / 1.372 GB, free: 8.984 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.4966, allocations: 186.9 kB / 1.373 GB, free: 8.762 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.4967, allocations: 20.22 kB / 1.373 GB, free: 8.742 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.4967, allocations: 12 kB / 1.373 GB, free: 8.73 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003468/0.4971, allocations: 151.9 kB / 1.373 GB, free: 8.578 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.4971, allocations: 0 / 1.373 GB, free: 8.578 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.4971, allocations: 8 kB / 1.373 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.4971, allocations: 0 / 1.373 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003472/0.4975, allocations: 148.6 kB / 1.373 GB, free: 8.426 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007625/0.4982, allocations: 0.4965 MB / 1.373 GB, free: 7.875 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.4985, allocations: 126.5 kB / 1.373 GB, free: 7.742 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.4986, allocations: 0 / 1.373 GB, free: 7.742 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.4986, allocations: 34.62 kB / 1.373 GB, free: 7.699 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 9.42e-07/0.4986, allocations: 0 / 1.373 GB, free: 7.699 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.000615/0.4992, allocations: 213.9 kB / 1.374 GB, free: 7.484 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.4993, allocations: 55.36 kB / 1.374 GB, free: 7.418 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.4994, allocations: 158 kB / 1.374 GB, free: 7.258 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.4995, allocations: 25.7 kB / 1.374 GB, free: 7.227 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.928e-05/0.4996, allocations: 115.9 kB / 1.374 GB, free: 7.109 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.4996, allocations: 27.56 kB / 1.374 GB, free: 7.082 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-06/0.4996, allocations: 0 / 1.374 GB, free: 7.082 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.4998, allocations: 326.8 kB / 1.374 GB, free: 6.754 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.4999, allocations: 51.95 kB / 1.374 GB, free: 6.703 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.5001, allocations: 51.97 kB / 1.374 GB, free: 6.652 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.5002, allocations: 51.91 kB / 1.375 GB, free: 6.602 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5002, allocations: 4 kB / 1.375 GB, free: 6.598 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003586/0.5006, allocations: 149.5 kB / 1.375 GB, free: 6.445 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.5006, allocations: 9.094 kB / 1.375 GB, free: 6.438 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.5006, allocations: 0 / 1.375 GB, free: 6.438 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.5006, allocations: 4 kB / 1.375 GB, free: 6.434 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.5008, allocations: 19.98 kB / 1.375 GB, free: 6.414 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.5008, allocations: 7.984 kB / 1.375 GB, free: 6.406 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.5009, allocations: 19.88 kB / 1.375 GB, free: 6.387 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.501, allocations: 8 kB / 1.375 GB, free: 6.379 MB / 0.8698 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.0001197/0.5011, allocations: 125.8 kB / 1.375 GB, free: 6.246 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.5011, allocations: 15.81 kB / 1.375 GB, free: 6.23 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.822e-05/0.5012, allocations: 12.72 kB / 1.375 GB, free: 6.215 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.5012, allocations: 4 kB / 1.375 GB, free: 6.211 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.5012, allocations: 0 / 1.375 GB, free: 6.211 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.5012, allocations: 0 / 1.375 GB, free: 6.211 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.5015, allocations: 241.5 kB / 1.375 GB, free: 5.926 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5015, allocations: 0 / 1.375 GB, free: 5.926 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.5016, allocations: 35.86 kB / 1.375 GB, free: 5.891 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.5016, allocations: 4 kB / 1.375 GB, free: 5.887 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.5017, allocations: 0 / 1.375 GB, free: 5.887 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5017, allocations: 0 / 1.375 GB, free: 5.887 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.5017, allocations: 8 kB / 1.375 GB, free: 5.879 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004288/0.5021, allocations: 263.2 kB / 1.375 GB, free: 5.605 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.594e-05/0.5022, allocations: 81.02 kB / 1.375 GB, free: 5.508 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.5022, allocations: 4 kB / 1.375 GB, free: 5.504 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.5023, allocations: 15.98 kB / 1.376 GB, free: 5.488 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.514e-05/0.5024, allocations: 19.97 kB / 1.376 GB, free: 5.469 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.5024, allocations: 11.92 kB / 1.376 GB, free: 5.457 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.891e-05/0.5025, allocations: 120.8 kB / 1.376 GB, free: 5.34 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5025, allocations: 0 / 1.376 GB, free: 5.34 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002432/0.5028, allocations: 31.84 kB / 1.376 GB, free: 5.309 MB / 0.8698 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.0001602/0.5029, allocations: 111 kB / 1.376 GB, free: 5.191 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003784/0.5033, allocations: 127.9 kB / 1.376 GB, free: 5.066 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.5033, allocations: 0 / 1.376 GB, free: 5.066 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.5035, allocations: 67.89 kB / 1.376 GB, free: 5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.5038, allocations: 21.75 kB / 1.376 GB, free: 4.98 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005829/0.5044, allocations: 307.9 kB / 1.376 GB, free: 4.652 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.5047, allocations: 0.7158 MB / 1.377 GB, free: 3.91 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 8.162e-05/0.5048, allocations: 16.55 kB / 1.377 GB, free: 3.891 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.958e-05/0.5048, allocations: 11.44 kB / 1.377 GB, free: 3.883 MB / 0.8698 GB Notification: Performance of SimCode: time 2.2e-07/0.5048, allocations: 0 / 1.377 GB, free: 3.883 MB / 0.8698 GB Notification: Performance of Templates: time 0.00365/0.5085, allocations: 1.222 MB / 1.378 GB, free: 2.699 MB / 0.8698 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