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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002091/0.002091, allocations: 195.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.557/2.557, allocations: 390.2 MB / 0.6646 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001667, allocations: 63.89 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8912/0.8929, allocations: 140.4 MB / 0.9496 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002729/0.8957, allocations: 1.282 MB / 0.9509 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.8968, allocations: 1.068 MB / 0.9519 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.897, allocations: 4.281 kB / 0.9519 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.8971, allocations: 36.66 kB / 0.952 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.614e-05/0.8972, allocations: 29.98 kB / 0.952 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.8975, allocations: 110.2 kB / 0.9521 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002771/0.8977, allocations: 287.3 kB / 0.9524 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002895/0.898, allocations: 165.8 kB / 0.9525 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.8982, allocations: 125 kB / 0.9527 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.8984, allocations: 118.7 kB / 0.9528 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.488e-05/0.8985, allocations: 30.38 kB / 0.9528 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.943e-05/0.8985, allocations: 29.5 kB / 0.9528 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.438e-05/0.8986, allocations: 68.16 kB / 0.9529 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.8987, allocations: 126.2 kB / 0.953 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003121/0.899, allocations: 374.7 kB / 0.9534 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.899, allocations: 0 / 0.9534 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.363e-06/0.899, allocations: 1.562 kB / 0.9534 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.899, allocations: 0 / 0.9534 GB, free: 6.227 MB / 0.7169 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.0008123/0.8998, allocations: 0.5451 MB / 0.9539 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.8999, allocations: 9.344 kB / 0.9539 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.711e-05/0.9, allocations: 30.44 kB / 0.9539 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005125/0.9005, allocations: 316 kB / 0.9542 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.099e-05/0.9005, allocations: 18.94 kB / 0.9543 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.673e-05/0.9006, allocations: 25.19 kB / 0.9543 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005015/0.9011, allocations: 231.4 kB / 0.9545 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.9011, allocations: 0 / 0.9545 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.863e-05/0.9012, allocations: 10.38 kB / 0.9545 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.9012, allocations: 10.02 kB / 0.9545 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004579/0.9016, allocations: 187.3 kB / 0.9547 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000977/0.9026, allocations: 0.6626 MB / 0.9553 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004114/0.9031, allocations: 149.9 kB / 0.9555 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.9033, allocations: 70.38 kB / 0.9556 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.9033, allocations: 5.547 kB / 0.9556 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.9033, allocations: 39.97 kB / 0.9556 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.173e-06/0.9033, allocations: 0 / 0.9556 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.0006249/0.9039, allocations: 221 kB / 0.9558 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.904, allocations: 55.34 kB / 0.9559 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.9041, allocations: 207.7 kB / 0.9561 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.9042, allocations: 30.89 kB / 0.9561 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.651e-05/0.9043, allocations: 169.6 kB / 0.9563 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.9043, allocations: 42.77 kB / 0.9563 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.247e-05/0.9044, allocations: 62.97 kB / 0.9564 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.186e-05/0.9045, allocations: 333.9 kB / 0.9567 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.9047, allocations: 56.56 kB / 0.9567 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/0.9049, allocations: 121.2 kB / 0.9568 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003584/0.9053, allocations: 168.7 kB / 0.957 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.9053, allocations: 0 / 0.957 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004511/0.9057, allocations: 221.3 kB / 0.9572 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.9058, allocations: 5.438 kB / 0.9572 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.9058, allocations: 3.094 kB / 0.9572 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.9058, allocations: 2.75 kB / 0.9572 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.906, allocations: 39.47 kB / 0.9573 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.906, allocations: 6.688 kB / 0.9573 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.9061, allocations: 29.67 kB / 0.9573 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.9062, allocations: 6.875 kB / 0.9573 GB, free: 3.031 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.gre.greHys.y,$PRE.actAirSet.gre.greHys.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.y,actAirSet.warUpMod.y,actAirSet.setBacMod.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001751/0.9063, allocations: 150.2 kB / 0.9574 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.9064, allocations: 19.97 kB / 0.9575 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.043e-05/0.9064, allocations: 25.98 kB / 0.9575 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.9065, allocations: 1.375 kB / 0.9575 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.9065, allocations: 1.375 kB / 0.9575 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.9065, allocations: 0 / 0.9575 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.9068, allocations: 300.4 kB / 0.9578 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.9068, allocations: 0 / 0.9578 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.9069, allocations: 21.86 kB / 0.9578 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.9069, allocations: 3.938 kB / 0.9578 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.9069, allocations: 9.359 kB / 0.9578 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.9069, allocations: 1.375 kB / 0.9578 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.9069, allocations: 0 / 0.9578 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003941/0.9073, allocations: 273.6 kB / 0.9581 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.327e-05/0.9074, allocations: 97.53 kB / 0.9582 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/0.9074, allocations: 10.06 kB / 0.9582 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.9076, allocations: 9.484 kB / 0.9582 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.378e-05/0.9077, allocations: 27.41 kB / 0.9582 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.9077, allocations: 3.375 kB / 0.9582 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001017/0.9078, allocations: 145.8 kB / 0.9584 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9078, allocations: 4 kB / 0.9584 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002704/0.9081, allocations: 41.91 kB / 0.9584 GB, free: 2.086 MB / 0.7169 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.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.gre.greHys.y,reaToInt2.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001228/0.9082, allocations: 113 kB / 0.9585 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004349/0.9086, allocations: 170.8 kB / 0.9587 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.9086, allocations: 4 kB / 0.9587 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.9088, allocations: 73.5 kB / 0.9587 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.9092, allocations: 33.86 kB / 0.9588 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007784/0.91, allocations: 395.6 kB / 0.9592 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.9102, allocations: 0.7467 MB / 0.9599 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001369/0.9103, allocations: 30.58 kB / 0.9599 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.368e-05/0.9104, allocations: 25.48 kB / 0.9599 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.9104, allocations: 1.094 kB / 0.9599 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of Templates: time 0.005315/0.9157, allocations: 1.926 MB / 0.9618 GB, free: 15.9 MB / 0.7325 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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