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.007074/0.007074, allocations: 104.2 kB / 15.73 MB, free: 6.039 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.001257/0.001257, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.517/1.517, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.65/2.65, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001282, allocations: 63.44 kB / 0.9509 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.345, allocations: 140.4 MB / 1.088 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.00266/0.3477, allocations: 1.275 MB / 1.089 GB, free: 256 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001537/0.3493, allocations: 1.088 MB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002353/0.3495, allocations: 7.938 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001674/0.3497, allocations: 31.61 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.3499, allocations: 39.61 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.3501, allocations: 107.8 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002977/0.3505, allocations: 288.4 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002825/0.3507, allocations: 172.8 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.3509, allocations: 107.5 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.3511, allocations: 127.4 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.436e-05/0.3511, allocations: 28 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.657e-05/0.3512, allocations: 36 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.588e-05/0.3512, allocations: 67.77 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.824e-05/0.3513, allocations: 123.3 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003668/0.3517, allocations: 394.5 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3517, allocations: 0 / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3517, allocations: 0 / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.3518, allocations: 0 / 1.092 GB, free: 13.64 MB / 0.8575 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.0008712/0.3526, allocations: 0.542 MB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.3527, allocations: 12.03 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.237e-05/0.3527, allocations: 28.56 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005409/0.3533, allocations: 317 kB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.3533, allocations: 24.88 kB / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/0.3534, allocations: 24.38 kB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004449/0.3538, allocations: 233 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.3538, allocations: 3.984 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.3539, allocations: 12 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.3539, allocations: 4 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004036/0.3543, allocations: 178.1 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009258/0.3552, allocations: 0.6584 MB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003714/0.3556, allocations: 146.8 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.3558, allocations: 64.83 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.3558, allocations: 8 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.3558, allocations: 42.5 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=17): time 1.273e-06/0.3559, allocations: 0 / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17): time 0.0005709/0.3564, allocations: 219.3 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.3565, allocations: 51.41 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.3567, allocations: 219.5 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.3567, allocations: 29.7 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.795e-05/0.3568, allocations: 160.1 kB / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.3568, allocations: 55.36 kB / 1.095 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.791e-05/0.3569, allocations: 53.7 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.357, allocations: 334.8 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.3572, allocations: 63.89 kB / 1.095 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.3574, allocations: 118.8 kB / 1.095 GB, free: 9.844 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/0.3577, allocations: 162.7 kB / 1.095 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3577, allocations: 0 / 1.095 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004357/0.3582, allocations: 223.3 kB / 1.096 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.3582, allocations: 4 kB / 1.096 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3582, allocations: 4 kB / 1.096 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3582, allocations: 4 kB / 1.096 GB, free: 9.426 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.3584, allocations: 39.91 kB / 1.096 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.3584, allocations: 4.219 kB / 1.096 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.3586, allocations: 31.83 kB / 1.096 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.3586, allocations: 4 kB / 1.096 GB, free: 9.348 MB / 0.8575 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.0001274/0.3587, allocations: 153.7 kB / 1.096 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.3588, allocations: 19.8 kB / 1.096 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.819e-05/0.3588, allocations: 21.88 kB / 1.096 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.3588, allocations: 4 kB / 1.096 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.3588, allocations: 4 kB / 1.096 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.3589, allocations: 3.984 kB / 1.096 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.3592, allocations: 301.3 kB / 1.096 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.3592, allocations: 0 / 1.096 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.3593, allocations: 27.91 kB / 1.096 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.3593, allocations: 4 kB / 1.096 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.3593, allocations: 7.938 kB / 1.096 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3593, allocations: 0 / 1.096 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3594, allocations: 0 / 1.096 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003895/0.3597, allocations: 273.3 kB / 1.096 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-05/0.3598, allocations: 88.92 kB / 1.097 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.3598, allocations: 0 / 1.097 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.36, allocations: 15.98 kB / 1.097 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.246e-05/0.3601, allocations: 27.97 kB / 1.097 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.3601, allocations: 4 kB / 1.097 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001005/0.3602, allocations: 145.4 kB / 1.097 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3602, allocations: 4 kB / 1.097 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002831/0.3605, allocations: 51.69 kB / 1.097 GB, free: 8.129 MB / 0.8575 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.0001283/0.3606, allocations: 112.4 kB / 1.097 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004129/0.361, allocations: 160.1 kB / 1.097 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.361, allocations: 0 / 1.097 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.3612, allocations: 79.91 kB / 1.097 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.3615, allocations: 32.52 kB / 1.097 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006918/0.3622, allocations: 384 kB / 1.097 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.3625, allocations: 0.7406 MB / 1.098 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001083/0.3626, allocations: 29.94 kB / 1.098 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.018e-05/0.3627, allocations: 31.42 kB / 1.098 GB, free: 6.512 MB / 0.8575 GB Notification: Performance of SimCode: time 2.01e-07/0.3627, allocations: 0 / 1.098 GB, free: 6.512 MB / 0.8575 GB Notification: Performance of Templates: time 0.005248/0.368, allocations: 1.943 MB / 1.1 GB, free: 4.633 MB / 0.8575 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