Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.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_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.239/2.239, allocations: 390.3 MB / 402.8 MB, free: 6.613 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.001004/0.001004, allocations: 180.8 kB / 496.1 MB, free: 12.8 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.0008747/0.0008747, allocations: 79.97 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.194e-05/3.209e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2613, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8827/1.144, allocations: 151.5 MB / 1.367 GB, free: 2.555 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/1.144, allocations: 79.88 kB / 1.367 GB, free: 2.508 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009988/1.154, allocations: 3.863 MB / 1.371 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.553e-06/1.154, allocations: 3.938 kB / 1.371 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.733e-05/1.155, allocations: 4 kB / 1.371 GB, free: 15.19 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.000711/1.155, allocations: 0.4921 MB / 1.371 GB, free: 14.67 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/1.155, allocations: 8.031 kB / 1.371 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.644e-05/1.155, allocations: 27.72 kB / 1.371 GB, free: 14.63 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004214/1.156, allocations: 275.3 kB / 1.371 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.394e-05/1.156, allocations: 22.5 kB / 1.371 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/1.156, allocations: 22.69 kB / 1.371 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000418/1.156, allocations: 213.6 kB / 1.372 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/1.156, allocations: 0 / 1.372 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/1.156, allocations: 7.812 kB / 1.372 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/1.156, allocations: 8 kB / 1.372 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000269/1.157, allocations: 149.7 kB / 1.372 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/1.158, allocations: 0.7332 MB / 1.372 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003402/1.158, allocations: 143.5 kB / 1.373 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/1.158, allocations: 64.66 kB / 1.373 GB, free: 13.28 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/1.158, allocations: 8.312 kB / 1.373 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/1.158, allocations: 34.5 kB / 1.373 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.352e-06/1.158, allocations: 0 / 1.373 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0003281/1.159, allocations: 150.8 kB / 1.373 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/1.159, allocations: 51.41 kB / 1.373 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/1.159, allocations: 215.5 kB / 1.373 GB, free: 12.87 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/1.159, allocations: 29.14 kB / 1.373 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.99e-05/1.159, allocations: 156.1 kB / 1.373 GB, free: 12.71 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.486e-05/1.159, allocations: 41.86 kB / 1.373 GB, free: 12.67 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.258e-06/1.159, allocations: 2.688 kB / 1.373 GB, free: 12.67 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001318/1.159, allocations: 337.1 kB / 1.374 GB, free: 12.34 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.86e-05/1.159, allocations: 46.94 kB / 1.374 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.307e-05/1.16, allocations: 59.41 kB / 1.374 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.85e-05/1.16, allocations: 40.17 kB / 1.374 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.16, allocations: 0 / 1.374 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002442/1.16, allocations: 156.2 kB / 1.374 GB, free: 12.12 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/1.16, allocations: 8 kB / 1.374 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/1.16, allocations: 0 / 1.374 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/1.16, allocations: 3.984 kB / 1.374 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/1.16, allocations: 31.48 kB / 1.374 GB, free: 12.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/1.16, allocations: 0 / 1.374 GB, free: 12.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/1.16, allocations: 35.81 kB / 1.374 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/1.16, allocations: 7.25 kB / 1.374 GB, free: 12.04 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 9.771e-05/1.16, allocations: 120 kB / 1.374 GB, free: 11.92 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/1.16, allocations: 19.75 kB / 1.374 GB, free: 11.9 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.758e-05/1.16, allocations: 28.58 kB / 1.374 GB, free: 11.89 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.161, allocations: 7.938 kB / 1.374 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.161, allocations: 0 / 1.374 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/1.161, allocations: 0 / 1.374 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003113/1.161, allocations: 310.8 kB / 1.374 GB, free: 11.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/1.161, allocations: 7.984 kB / 1.375 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/1.161, allocations: 27.92 kB / 1.375 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/1.161, allocations: 4 kB / 1.375 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/1.161, allocations: 3.562 kB / 1.375 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/1.161, allocations: 3.984 kB / 1.375 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/1.161, allocations: 0 / 1.375 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/1.161, allocations: 252.5 kB / 1.375 GB, free: 11.31 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.439e-05/1.161, allocations: 111.8 kB / 1.375 GB, free: 11.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/1.161, allocations: 3.188 kB / 1.375 GB, free: 11.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/1.162, allocations: 19.98 kB / 1.375 GB, free: 11.16 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.779e-05/1.162, allocations: 33.08 kB / 1.375 GB, free: 11.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/1.162, allocations: 4 kB / 1.375 GB, free: 11.14 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001333/1.162, allocations: 166.6 kB / 1.375 GB, free: 11 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.162, allocations: 7.938 kB / 1.375 GB, free: 11 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002447/1.162, allocations: 35.38 kB / 1.375 GB, free: 10.96 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.0001716/1.162, allocations: 117.8 kB / 1.375 GB, free: 10.85 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002697/1.163, allocations: 123.6 kB / 1.375 GB, free: 10.77 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.163, allocations: 0 / 1.375 GB, free: 10.77 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001143/1.163, allocations: 69.44 kB / 1.375 GB, free: 10.72 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/1.163, allocations: 27.25 kB / 1.375 GB, free: 10.7 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005347/1.164, allocations: 262.7 kB / 1.376 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/1.164, allocations: 0.7562 MB / 1.376 GB, free: 9.676 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001052/1.164, allocations: 21.55 kB / 1.376 GB, free: 9.656 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.294e-05/1.164, allocations: 23.42 kB / 1.376 GB, free: 9.633 MB / 0.8386 GB Notification: Performance of SimCode: time 3.21e-07/1.164, allocations: 4 kB / 1.377 GB, free: 9.629 MB / 0.8386 GB Notification: Performance of Templates: time 0.005145/1.169, allocations: 2.017 MB / 1.378 GB, free: 7.684 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches