Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.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|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.347/2.347, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001118/0.001118, allocations: 192.8 kB / 487.4 MB, free: 5.055 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.697/1.697, allocations: 221.5 MB / 0.7824 GB, free: 1.043 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 95.84 kB / 0.9219 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.762e-05/1.766e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2931, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8605/1.154, allocations: 150 MB / 1.352 GB, free: 18.51 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/1.154, allocations: 75.94 kB / 1.353 GB, free: 18.51 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01452/1.169, allocations: 3.839 MB / 1.356 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.714e-06/1.169, allocations: 0 / 1.356 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.89e-05/1.169, allocations: 7.719 kB / 1.356 GB, free: 33.98 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008275/1.169, allocations: 500 kB / 1.357 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/1.17, allocations: 7.875 kB / 1.357 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.377e-05/1.17, allocations: 26.91 kB / 1.357 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004304/1.17, allocations: 280 kB / 1.357 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/1.17, allocations: 11.69 kB / 1.357 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.312e-05/1.17, allocations: 15.53 kB / 1.357 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003962/1.171, allocations: 138 kB / 1.357 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000432/1.171, allocations: 177.8 kB / 1.357 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/1.171, allocations: 0 / 1.357 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/1.171, allocations: 3.141 kB / 1.357 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/1.171, allocations: 3.875 kB / 1.357 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/1.172, allocations: 0.6607 MB / 1.358 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003876/1.173, allocations: 147 kB / 1.358 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/1.173, allocations: 54.48 kB / 1.358 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/1.173, allocations: 7.812 kB / 1.358 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/1.173, allocations: 35.58 kB / 1.358 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 2.064e-06/1.173, allocations: 0 / 1.358 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.00038/1.173, allocations: 133.4 kB / 1.358 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.796e-05/1.173, allocations: 53.38 kB / 1.358 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/1.174, allocations: 171.5 kB / 1.359 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/1.174, allocations: 25.7 kB / 1.359 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/1.174, allocations: 157.4 kB / 1.359 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.006e-05/1.174, allocations: 44.8 kB / 1.359 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.469e-05/1.174, allocations: 0 / 1.359 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001354/1.174, allocations: 327.9 kB / 1.359 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/1.174, allocations: 42.69 kB / 1.359 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/1.174, allocations: 63.36 kB / 1.359 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.583e-05/1.174, allocations: 36.52 kB / 1.359 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/1.174, allocations: 0 / 1.359 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003117/1.175, allocations: 142.7 kB / 1.359 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/1.175, allocations: 3.969 kB / 1.359 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/1.175, allocations: 0 / 1.359 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/1.175, allocations: 7.781 kB / 1.359 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/1.175, allocations: 25.11 kB / 1.359 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/1.175, allocations: 1.453 kB / 1.359 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/1.175, allocations: 23.91 kB / 1.36 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/1.175, allocations: 8.844 kB / 1.36 GB, free: 32.15 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,$PRE.actAirSet.gre.greHys.y,actAirSet.gre.greHys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001039/1.175, allocations: 112.7 kB / 1.36 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.379e-05/1.175, allocations: 19.44 kB / 1.36 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.129e-05/1.176, allocations: 23.47 kB / 1.36 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/1.176, allocations: 0 / 1.36 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/1.176, allocations: 0 / 1.36 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.176, allocations: 0 / 1.36 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003384/1.176, allocations: 259.3 kB / 1.36 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/1.176, allocations: 7.875 kB / 1.36 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/1.176, allocations: 24.67 kB / 1.36 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.259e-06/1.176, allocations: 3.953 kB / 1.36 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/1.176, allocations: 6.703 kB / 1.36 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/1.176, allocations: 3.875 kB / 1.36 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.176, allocations: 0 / 1.36 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003256/1.177, allocations: 238.6 kB / 1.36 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.864e-05/1.177, allocations: 99.53 kB / 1.36 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/1.177, allocations: 7.453 kB / 1.36 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/1.177, allocations: 20.77 kB / 1.36 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/1.177, allocations: 29.83 kB / 1.36 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/1.177, allocations: 3.875 kB / 1.36 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001227/1.177, allocations: 126.4 kB / 1.36 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.6e-07/1.177, allocations: 4 kB / 1.36 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004468/1.178, allocations: 42.69 kB / 1.361 GB, free: 31.49 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.gre.greHys.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001572/1.178, allocations: 119.4 kB / 1.361 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003014/1.178, allocations: 115.6 kB / 1.361 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.178, allocations: 0 / 1.361 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/1.178, allocations: 67.45 kB / 1.361 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/1.179, allocations: 21.92 kB / 1.361 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006287/1.179, allocations: 244.9 kB / 1.361 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/1.18, allocations: 0.7542 MB / 1.362 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000156/1.18, allocations: 18.88 kB / 1.362 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.1e-05/1.18, allocations: 18.69 kB / 1.362 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of SimCode: time 4.31e-07/1.18, allocations: 4 kB / 1.362 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of Templates: time 0.00599/1.186, allocations: 1.706 MB / 1.363 GB, free: 30.45 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches