Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001706/0.001706, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001886/0.001886, allocations: 194.5 kB / 16.14 MB, free: 6.629 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.565/1.565, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.03/3.03, allocations: 469.8 MB / 0.7419 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 70.94 kB / 0.9079 GB, free: 34.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4268/0.4288, allocations: 159.2 MB / 1.063 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.003039/0.4319, allocations: 1.349 MB / 1.065 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00163/0.4336, allocations: 1.065 MB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001845/0.4338, allocations: 4 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001982/0.434, allocations: 23.78 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.149e-05/0.4341, allocations: 27.78 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.4344, allocations: 91.89 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003215/0.4347, allocations: 280.4 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003623/0.4351, allocations: 168.8 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/0.4353, allocations: 103.5 kB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.4354, allocations: 115.4 kB / 1.066 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.177e-05/0.4355, allocations: 16 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.793e-05/0.4355, allocations: 16 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.952e-05/0.4356, allocations: 47.83 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.4357, allocations: 115.3 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004157/0.4361, allocations: 382.9 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.125e-05/0.4362, allocations: 0 / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.108e-06/0.4362, allocations: 3.984 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.4362, allocations: 4 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009642/0.4372, allocations: 0.5459 MB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.4372, allocations: 8.031 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.311e-05/0.4373, allocations: 28.66 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005827/0.4379, allocations: 320.9 kB / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/0.4379, allocations: 24.94 kB / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.871e-05/0.438, allocations: 24.38 kB / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005197/0.4385, allocations: 233.4 kB / 1.068 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.4385, allocations: 8.109 kB / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/0.4386, allocations: 15.94 kB / 1.068 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.4386, allocations: 8 kB / 1.068 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004666/0.439, allocations: 190.1 kB / 1.068 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.4402, allocations: 0.6901 MB / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004895/0.4407, allocations: 184.8 kB / 1.069 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000203/0.4409, allocations: 76.81 kB / 1.069 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.4409, allocations: 4 kB / 1.069 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.441, allocations: 30.56 kB / 1.069 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=19): time 3.066e-06/0.441, allocations: 3.984 kB / 1.069 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19): time 0.0007041/0.4417, allocations: 233.2 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.4418, allocations: 63.39 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.442, allocations: 207.6 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.442, allocations: 29.7 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.4422, allocations: 168.4 kB / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.485e-05/0.4422, allocations: 55.23 kB / 1.07 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.4423, allocations: 61.92 kB / 1.07 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001906/0.4425, allocations: 330.8 kB / 1.07 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.4427, allocations: 72.42 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/0.443, allocations: 113.2 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000388/0.4434, allocations: 180.3 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4434, allocations: 4 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000497/0.4439, allocations: 230.8 kB / 1.071 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.4439, allocations: 10.34 kB / 1.071 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.444, allocations: 0 / 1.071 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.444, allocations: 4 kB / 1.071 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.4442, allocations: 44.12 kB / 1.071 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.4442, allocations: 4 kB / 1.071 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.4443, allocations: 23.83 kB / 1.071 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.4444, allocations: 12 kB / 1.071 GB, free: 6.461 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 17 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.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 (27): * Single equations (assignments): 27 * 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.0002462/0.4446, allocations: 145.7 kB / 1.071 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.797e-05/0.4447, allocations: 19.72 kB / 1.071 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.969e-05/0.4447, allocations: 33.86 kB / 1.071 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.4448, allocations: 4 kB / 1.071 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.4448, allocations: 0 / 1.071 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.4448, allocations: 0 / 1.071 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003932/0.4452, allocations: 309.4 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4452, allocations: 0 / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.4453, allocations: 27.91 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.4453, allocations: 0 / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.4454, allocations: 8 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.4454, allocations: 0 / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4454, allocations: 4 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000486/0.4459, allocations: 277.3 kB / 1.072 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.565e-05/0.446, allocations: 96.86 kB / 1.072 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.446, allocations: 7.938 kB / 1.072 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.4462, allocations: 15.98 kB / 1.072 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.476e-05/0.4463, allocations: 31.95 kB / 1.072 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.4463, allocations: 8 kB / 1.072 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001234/0.4464, allocations: 137.5 kB / 1.072 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4464, allocations: 0 / 1.072 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002938/0.4467, allocations: 47.75 kB / 1.072 GB, free: 5.223 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (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,actAirSet.or2.y,actAirSet.or4.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 (19): * Single equations (assignments): 19 * 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.0001819/0.4469, allocations: 112.2 kB / 1.072 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004974/0.4474, allocations: 179.7 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4474, allocations: 0 / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.4476, allocations: 79.89 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.448, allocations: 38.27 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008597/0.4489, allocations: 489.4 kB / 1.073 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.4493, allocations: 0.749 MB / 1.074 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001532/0.4494, allocations: 37.92 kB / 1.074 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.148e-05/0.4495, allocations: 19.44 kB / 1.074 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.4495, allocations: 0 / 1.074 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of Templates: time 0.005841/0.4554, allocations: 1.77 MB / 1.076 GB, free: 1.766 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches