Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001441/0.001442, allocations: 110 kB / 16.37 MB, free: 6.469 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.001645/0.001645, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.45/2.45, allocations: 437.1 MB / 0.7112 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 64.09 kB / 0.8707 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3503, allocations: 151.6 MB / 1.019 GB, free: 9.801 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002877/0.3532, allocations: 1.3 MB / 1.02 GB, free: 8.492 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.3546, allocations: 1.069 MB / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002181/0.3548, allocations: 7.938 kB / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001753/0.355, allocations: 31.61 kB / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.387e-05/0.3551, allocations: 27.67 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.3554, allocations: 107.8 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003006/0.3557, allocations: 296.3 kB / 1.022 GB, free: 6.949 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003234/0.3561, allocations: 169.7 kB / 1.022 GB, free: 6.781 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.3562, allocations: 123.4 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.3564, allocations: 111.5 kB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.686e-05/0.3564, allocations: 36 kB / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 4.113e-05/0.3565, allocations: 31.94 kB / 1.022 GB, free: 6.484 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.758e-05/0.3566, allocations: 67.77 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.3567, allocations: 127.3 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003644/0.357, allocations: 390.5 kB / 1.023 GB, free: 5.91 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.357, allocations: 4 kB / 1.023 GB, free: 5.906 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3571, allocations: 0 / 1.023 GB, free: 5.906 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.3571, allocations: 0 / 1.023 GB, free: 5.906 MB / 0.795 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.0008528/0.3579, allocations: 0.5459 MB / 1.023 GB, free: 5.309 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.358, allocations: 8.031 kB / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.808e-05/0.358, allocations: 32.56 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005462/0.3586, allocations: 309.1 kB / 1.023 GB, free: 4.922 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.3586, allocations: 20.94 kB / 1.024 GB, free: 4.902 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.611e-05/0.3587, allocations: 28.31 kB / 1.024 GB, free: 4.875 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000479/0.3592, allocations: 233.4 kB / 1.024 GB, free: 4.645 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.3592, allocations: 192 / 1.024 GB, free: 4.645 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.3592, allocations: 11.94 kB / 1.024 GB, free: 4.633 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.3592, allocations: 8 kB / 1.024 GB, free: 4.625 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004206/0.3597, allocations: 174.1 kB / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.3608, allocations: 0.6585 MB / 1.025 GB, free: 3.746 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004048/0.3612, allocations: 156.4 kB / 1.025 GB, free: 3.586 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.3614, allocations: 64.88 kB / 1.025 GB, free: 3.52 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.3614, allocations: 4 kB / 1.025 GB, free: 3.516 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.3615, allocations: 46.48 kB / 1.025 GB, free: 3.461 MB / 0.795 GB Notification: Performance of pre-optimization done (n=17): time 1.322e-06/0.3615, allocations: 0 / 1.025 GB, free: 3.461 MB / 0.795 GB Notification: Performance of matching and sorting (n=17): time 0.0006749/0.3622, allocations: 209.3 kB / 1.025 GB, free: 3.25 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.3622, allocations: 55.41 kB / 1.025 GB, free: 3.184 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.3624, allocations: 219.5 kB / 1.025 GB, free: 2.957 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.3625, allocations: 29.69 kB / 1.025 GB, free: 2.922 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.3626, allocations: 156.1 kB / 1.025 GB, free: 2.766 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/0.3627, allocations: 51.42 kB / 1.026 GB, free: 2.715 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.874e-05/0.3627, allocations: 61.69 kB / 1.026 GB, free: 2.648 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3629, allocations: 326.8 kB / 1.026 GB, free: 2.32 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.3631, allocations: 63.95 kB / 1.026 GB, free: 2.258 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.3633, allocations: 124.9 kB / 1.026 GB, free: 2.113 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003429/0.3637, allocations: 161.2 kB / 1.026 GB, free: 1.934 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3637, allocations: 4 kB / 1.026 GB, free: 1.93 MB / 0.795 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004549/0.3641, allocations: 221.1 kB / 1.026 GB, free: 1.707 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3641, allocations: 8 kB / 1.026 GB, free: 1.699 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3642, allocations: 4 kB / 1.026 GB, free: 1.695 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.3642, allocations: 7.984 kB / 1.026 GB, free: 1.688 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.3644, allocations: 39.86 kB / 1.027 GB, free: 1.648 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.951e-05/0.3644, allocations: 12.2 kB / 1.027 GB, free: 1.637 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.3645, allocations: 27.69 kB / 1.027 GB, free: 1.609 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.3646, allocations: 15.92 kB / 1.027 GB, free: 1.594 MB / 0.795 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.0001428/0.3647, allocations: 151.3 kB / 1.027 GB, free: 1.438 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.871e-05/0.3647, allocations: 15.81 kB / 1.027 GB, free: 1.422 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.577e-05/0.3648, allocations: 21.88 kB / 1.027 GB, free: 1.406 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3648, allocations: 3.984 kB / 1.027 GB, free: 1.402 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.3648, allocations: 4 kB / 1.027 GB, free: 1.398 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3648, allocations: 4 kB / 1.027 GB, free: 1.395 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000314/0.3652, allocations: 293.3 kB / 1.027 GB, free: 1.059 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3652, allocations: 0 / 1.027 GB, free: 1.059 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.3653, allocations: 31.91 kB / 1.027 GB, free: 1.027 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3653, allocations: 0 / 1.027 GB, free: 1.027 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.3653, allocations: 4 kB / 1.027 GB, free: 1.023 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.3653, allocations: 4 kB / 1.027 GB, free: 1.02 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3653, allocations: 0 / 1.027 GB, free: 1.02 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004174/0.3658, allocations: 269.8 kB / 1.027 GB, free: 0.7422 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.864e-05/0.3658, allocations: 88.92 kB / 1.027 GB, free: 0.6367 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.3659, allocations: 8 kB / 1.027 GB, free: 0.6289 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.366, allocations: 7.984 kB / 1.027 GB, free: 0.6211 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.967e-05/0.3661, allocations: 31.95 kB / 1.027 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.3661, allocations: 11.98 kB / 1.027 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001155/0.3663, allocations: 141.5 kB / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3663, allocations: 0 / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002773/0.3665, allocations: 43.75 kB / 1.028 GB, free: 408 kB / 0.795 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.0001354/0.3667, allocations: 116.5 kB / 1.028 GB, free: 284 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004427/0.3671, allocations: 163.9 kB / 1.028 GB, free: 120 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3672, allocations: 0 / 1.028 GB, free: 120 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.3673, allocations: 75.89 kB / 1.028 GB, free: 44 kB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.3677, allocations: 23.94 kB / 1.028 GB, free: 20 kB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008434/0.3685, allocations: 392.5 kB / 1.028 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.3689, allocations: 0.7406 MB / 1.029 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001313/0.3691, allocations: 29.95 kB / 1.029 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.707e-05/0.3692, allocations: 23.42 kB / 1.029 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of SimCode: time 2.154e-06/0.3692, allocations: 0 / 1.029 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of Templates: time 0.005398/0.3746, allocations: 1.934 MB / 1.031 GB, free: 12.91 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches