Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001776/0.001776, 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.001643/0.001643, allocations: 194.5 kB / 16.14 MB, free: 6.648 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.394/1.394, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.745/2.745, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 64.66 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.4264, allocations: 157.4 MB / 1.052 GB, free: 8.797 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002822/0.4293, allocations: 1.355 MB / 1.053 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.4307, allocations: 1.073 MB / 1.055 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001707/0.4309, allocations: 8 kB / 1.055 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001734/0.431, allocations: 19.73 kB / 1.055 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.4312, allocations: 19.84 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.4314, allocations: 91.89 kB / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002617/0.4317, allocations: 284.3 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000271/0.432, allocations: 164.8 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.4322, allocations: 111.5 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.4323, allocations: 107.4 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.897e-05/0.4323, allocations: 20 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.185e-05/0.4324, allocations: 16 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.098e-05/0.4324, allocations: 51.81 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.4325, allocations: 119.3 kB / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000322/0.4329, allocations: 378.9 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.4329, allocations: 3.938 kB / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.92e-07/0.4329, allocations: 0 / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.4329, allocations: 0 / 1.056 GB, free: 4.984 MB / 0.8106 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.0009193/0.4338, allocations: 0.547 MB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.4339, allocations: 12.02 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.027e-05/0.434, allocations: 32.56 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005091/0.4345, allocations: 313.1 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.4345, allocations: 16.94 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/0.4345, allocations: 28.38 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004657/0.435, allocations: 241.4 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.435, allocations: 12.11 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/0.4351, allocations: 11.94 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.4351, allocations: 8 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004581/0.4356, allocations: 178.1 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.4366, allocations: 0.6978 MB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004383/0.4371, allocations: 178.8 kB / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.4373, allocations: 76.81 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.4373, allocations: 4 kB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.4373, allocations: 42.44 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=19): time 1.603e-06/0.4373, allocations: 0 / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of matching and sorting (n=19): time 0.0006368/0.438, allocations: 230.5 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.438, allocations: 55.41 kB / 1.058 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.4382, allocations: 211.5 kB / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.4383, allocations: 33.7 kB / 1.059 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.4384, allocations: 172.4 kB / 1.059 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.214e-05/0.4384, allocations: 51.3 kB / 1.059 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.346e-05/0.4385, allocations: 53.94 kB / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.4386, allocations: 334.8 kB / 1.059 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.4388, allocations: 60.42 kB / 1.059 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.439, allocations: 132.4 kB / 1.059 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000381/0.4394, allocations: 172.5 kB / 1.06 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.4394, allocations: 4 kB / 1.06 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004632/0.4399, allocations: 230.5 kB / 1.06 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.4399, allocations: 8 kB / 1.06 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.4399, allocations: 0 / 1.06 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.44, allocations: 4 kB / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.4402, allocations: 39.91 kB / 1.06 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.4402, allocations: 4 kB / 1.06 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.4403, allocations: 28.05 kB / 1.06 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.4404, allocations: 8 kB / 1.06 GB, free: 0.5391 MB / 0.8106 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.0001986/0.4406, allocations: 151.2 kB / 1.06 GB, free: 392 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.482e-05/0.4406, allocations: 19.81 kB / 1.06 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.336e-05/0.4407, allocations: 25.86 kB / 1.06 GB, free: 348 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.4407, allocations: 0 / 1.06 GB, free: 348 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4407, allocations: 0 / 1.06 GB, free: 348 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.4407, allocations: 0 / 1.06 GB, free: 348 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003412/0.441, allocations: 317.3 kB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4411, allocations: 0 / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.4412, allocations: 31.91 kB / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.4412, allocations: 8 kB / 1.06 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.4412, allocations: 0 / 1.06 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4413, allocations: 0 / 1.06 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.4413, allocations: 3.984 kB / 1.06 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004313/0.4417, allocations: 284.6 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/0.4418, allocations: 96.86 kB / 1.061 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.4418, allocations: 7.938 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.4419, allocations: 19.92 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.648e-05/0.442, allocations: 23.95 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.4421, allocations: 4 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001149/0.4422, allocations: 141.5 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4422, allocations: 7.938 kB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003038/0.4425, allocations: 43.84 kB / 1.061 GB, free: 15.29 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.0001525/0.4427, allocations: 107.2 kB / 1.061 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004487/0.4431, allocations: 178.2 kB / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4431, allocations: 0 / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.4433, allocations: 87.88 kB / 1.061 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.4437, allocations: 27.94 kB / 1.061 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.4448, allocations: 491.8 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004159/0.4452, allocations: 0.7529 MB / 1.063 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001568/0.4454, allocations: 33.88 kB / 1.063 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.215e-05/0.4455, allocations: 19.44 kB / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of SimCode: time 6.41e-07/0.4455, allocations: 0 / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of Templates: time 0.005687/0.4512, allocations: 1.778 MB / 1.064 GB, free: 11.84 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches