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.001057/0.001057, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 200.5 kB / 16.26 MB, free: 6.625 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.437/1.437, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.466/2.466, allocations: 390.2 MB / 0.6643 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 67.91 kB / 0.8121 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8294/0.8309, allocations: 140.4 MB / 0.9491 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002742/0.8336, allocations: 1.33 MB / 0.9504 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.835, allocations: 1.065 MB / 0.9515 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/0.8352, allocations: 4.125 kB / 0.9515 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001706/0.8353, allocations: 21.11 kB / 0.9515 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.426e-05/0.8354, allocations: 14.61 kB / 0.9515 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.8357, allocations: 101.6 kB / 0.9516 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.836, allocations: 286.8 kB / 0.9519 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003836/0.8364, allocations: 166.5 kB / 0.9521 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.8366, allocations: 115.6 kB / 0.9522 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.8367, allocations: 123.7 kB / 0.9523 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.119e-05/0.8368, allocations: 30.38 kB / 0.9523 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.21e-05/0.8369, allocations: 29.88 kB / 0.9523 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.045e-05/0.8369, allocations: 58.92 kB / 0.9524 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.518e-05/0.837, allocations: 134.9 kB / 0.9525 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000306/0.8373, allocations: 374.3 kB / 0.9529 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.8373, allocations: 1.281 kB / 0.9529 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.384e-06/0.8373, allocations: 0 / 0.9529 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.8374, allocations: 3.938 kB / 0.9529 GB, free: 6.309 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.0008133/0.8382, allocations: 0.5414 MB / 0.9534 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/0.8382, allocations: 9.406 kB / 0.9534 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.199e-05/0.8383, allocations: 34.62 kB / 0.9535 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004981/0.8388, allocations: 316.3 kB / 0.9538 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.8389, allocations: 19.28 kB / 0.9538 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.392e-05/0.8389, allocations: 28.33 kB / 0.9538 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004849/0.8394, allocations: 235.2 kB / 0.954 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.8394, allocations: 0 / 0.954 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.8395, allocations: 10.5 kB / 0.954 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.8395, allocations: 6.031 kB / 0.954 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004261/0.8399, allocations: 175.7 kB / 0.9542 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009611/0.8409, allocations: 0.6698 MB / 0.9549 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004057/0.8413, allocations: 151.5 kB / 0.955 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.8415, allocations: 67.42 kB / 0.9551 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.8415, allocations: 2.281 kB / 0.9551 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.8415, allocations: 35.78 kB / 0.9551 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.253e-06/0.8416, allocations: 0 / 0.9551 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.000613/0.8422, allocations: 227.9 kB / 0.9553 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.8422, allocations: 53.66 kB / 0.9554 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.8424, allocations: 203.9 kB / 0.9556 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.8424, allocations: 34.67 kB / 0.9556 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.129e-05/0.8425, allocations: 166.3 kB / 0.9558 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.8426, allocations: 49.8 kB / 0.9558 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.697e-05/0.8426, allocations: 56.14 kB / 0.9559 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.942e-05/0.8427, allocations: 333.4 kB / 0.9562 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.8429, allocations: 62.61 kB / 0.9562 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.8431, allocations: 118.5 kB / 0.9564 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003186/0.8434, allocations: 164.2 kB / 0.9565 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.8434, allocations: 1.156 kB / 0.9565 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004219/0.8438, allocations: 221.2 kB / 0.9567 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.8438, allocations: 5.375 kB / 0.9567 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.8439, allocations: 1.781 kB / 0.9567 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.8439, allocations: 3.625 kB / 0.9567 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.844, allocations: 38.41 kB / 0.9568 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.8441, allocations: 8.109 kB / 0.9568 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.8442, allocations: 29.45 kB / 0.9568 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.8442, allocations: 6.875 kB / 0.9568 GB, free: 3.117 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.0001961/0.8444, allocations: 154.2 kB / 0.957 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.201e-05/0.8445, allocations: 19.97 kB / 0.957 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.051e-05/0.8445, allocations: 22 kB / 0.957 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.8445, allocations: 1.375 kB / 0.957 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.8446, allocations: 0 / 0.957 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.8446, allocations: 5.359 kB / 0.957 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.8448, allocations: 296.3 kB / 0.9573 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.8448, allocations: 3.938 kB / 0.9573 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.845, allocations: 28.97 kB / 0.9573 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.845, allocations: 1.438 kB / 0.9573 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.845, allocations: 9.438 kB / 0.9573 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.845, allocations: 5.406 kB / 0.9573 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.845, allocations: 0 / 0.9573 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003863/0.8454, allocations: 272.2 kB / 0.9576 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.629e-05/0.8455, allocations: 94.48 kB / 0.9577 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.8455, allocations: 5.375 kB / 0.9577 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.8456, allocations: 13.95 kB / 0.9577 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.952e-05/0.8457, allocations: 24 kB / 0.9577 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.8457, allocations: 10.58 kB / 0.9577 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.869e-05/0.8458, allocations: 137.1 kB / 0.9579 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8459, allocations: 4 kB / 0.9579 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002861/0.8461, allocations: 42.12 kB / 0.9579 GB, free: 2.168 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.000157/0.8463, allocations: 116 kB / 0.958 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005109/0.8468, allocations: 171.2 kB / 0.9582 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.8468, allocations: 2 kB / 0.9582 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002011/0.847, allocations: 80.3 kB / 0.9583 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.8474, allocations: 29.86 kB / 0.9583 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000835/0.8483, allocations: 467.9 kB / 0.9587 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.8486, allocations: 0.7502 MB / 0.9595 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001408/0.8487, allocations: 23.7 kB / 0.9595 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.771e-05/0.8488, allocations: 29.17 kB / 0.9595 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.8488, allocations: 0 / 0.9595 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of Templates: time 0.006927/0.8557, allocations: 1.82 MB / 0.9613 GB, free: 15.95 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