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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.0013/0.0013, allocations: 108.6 kB / 15.99 MB, free: 6.348 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.001303/0.001303, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.422/1.422, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.896/2.896, allocations: 482.4 MB / 0.755 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 71.39 kB / 0.9241 GB, free: 232 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8358/0.8378, allocations: 162.2 MB / 1.082 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002895/0.8407, allocations: 1.356 MB / 1.084 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001604/0.8423, allocations: 1.062 MB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/0.8425, allocations: 4.844 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001908/0.8427, allocations: 23.45 kB / 1.085 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.8429, allocations: 23.78 kB / 1.085 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/0.8432, allocations: 97.14 kB / 1.085 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003991/0.8436, allocations: 297.6 kB / 1.085 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003733/0.844, allocations: 182.1 kB / 1.085 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.8443, allocations: 123.9 kB / 1.086 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.8445, allocations: 125.5 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.065e-05/0.8445, allocations: 31.62 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.74e-05/0.8446, allocations: 35.69 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.572e-05/0.8447, allocations: 67 kB / 1.086 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.8449, allocations: 125.8 kB / 1.086 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004833/0.8454, allocations: 329.5 kB / 1.086 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.8454, allocations: 0.7188 kB / 1.086 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.494e-06/0.8454, allocations: 5.031 kB / 1.086 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.8454, allocations: 1.438 kB / 1.086 GB, free: 15.18 MB / 0.8419 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.001048/0.8465, allocations: 0.5391 MB / 1.087 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.8465, allocations: 9.25 kB / 1.087 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.835e-05/0.8466, allocations: 31.53 kB / 1.087 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000613/0.8472, allocations: 325.3 kB / 1.087 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.265e-05/0.8473, allocations: 19.88 kB / 1.087 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.912e-05/0.8473, allocations: 24.5 kB / 1.087 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000578/0.8479, allocations: 245.1 kB / 1.087 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.8479, allocations: 192 / 1.087 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.242e-05/0.848, allocations: 15.22 kB / 1.087 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.848, allocations: 5.812 kB / 1.087 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000506/0.8485, allocations: 185.9 kB / 1.088 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.8498, allocations: 0.6952 MB / 1.088 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000504/0.8503, allocations: 177.6 kB / 1.088 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.8506, allocations: 74.98 kB / 1.088 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.8506, allocations: 1.219 kB / 1.088 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.8506, allocations: 34.5 kB / 1.089 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=19): time 1.322e-06/0.8506, allocations: 0 / 1.089 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of matching and sorting (n=19): time 0.0007308/0.8514, allocations: 242.1 kB / 1.089 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.8514, allocations: 53.44 kB / 1.089 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.8517, allocations: 210.2 kB / 1.089 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.8517, allocations: 30.95 kB / 1.089 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.8519, allocations: 168 kB / 1.089 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.54e-05/0.852, allocations: 50.05 kB / 1.089 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.8521, allocations: 64.3 kB / 1.089 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.8523, allocations: 330.5 kB / 1.09 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.8525, allocations: 65.66 kB / 1.09 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.8528, allocations: 126 kB / 1.09 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003997/0.8532, allocations: 175.6 kB / 1.09 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.8532, allocations: 4 kB / 1.09 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005231/0.8537, allocations: 222.6 kB / 1.09 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.8538, allocations: 4.688 kB / 1.09 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.577e-06/0.8538, allocations: 3.266 kB / 1.09 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.8538, allocations: 3.5 kB / 1.09 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.854, allocations: 42.27 kB / 1.09 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.854, allocations: 3.422 kB / 1.09 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.8542, allocations: 34.67 kB / 1.09 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.8542, allocations: 7.375 kB / 1.09 GB, free: 12.36 MB / 0.8419 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.0002382/0.8545, allocations: 157.8 kB / 1.09 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.045e-05/0.8545, allocations: 24.95 kB / 1.09 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.996e-05/0.8546, allocations: 24.17 kB / 1.09 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.8546, allocations: 2.875 kB / 1.09 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.8546, allocations: 0 / 1.09 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.8546, allocations: 0.7969 kB / 1.09 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004325/0.8551, allocations: 316.2 kB / 1.091 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.8551, allocations: 0.7031 kB / 1.091 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.8552, allocations: 27.14 kB / 1.091 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.8553, allocations: 1.188 kB / 1.091 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.8553, allocations: 2.766 kB / 1.091 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.8553, allocations: 5.25 kB / 1.091 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.8553, allocations: 0.7969 kB / 1.091 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004942/0.8558, allocations: 276.5 kB / 1.091 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.122e-05/0.8559, allocations: 97.95 kB / 1.091 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.8559, allocations: 7.172 kB / 1.091 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.8561, allocations: 17.5 kB / 1.091 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.8562, allocations: 24.22 kB / 1.091 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.8562, allocations: 9.75 kB / 1.091 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001427/0.8564, allocations: 140.8 kB / 1.091 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8564, allocations: 3.938 kB / 1.091 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003361/0.8567, allocations: 55.28 kB / 1.091 GB, free: 11.49 MB / 0.8419 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.0001635/0.8569, allocations: 109.2 kB / 1.092 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005218/0.8574, allocations: 178.7 kB / 1.092 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.8574, allocations: 4 kB / 1.092 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002029/0.8576, allocations: 80.02 kB / 1.092 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.858, allocations: 33.22 kB / 1.092 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009216/0.8589, allocations: 0.5054 MB / 1.092 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.8593, allocations: 0.7507 MB / 1.093 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.43e-05/0.8594, allocations: 26.06 kB / 1.093 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.8594, allocations: 0 / 1.093 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of Templates: time 0.006234/0.8657, allocations: 2.753 MB / 1.096 GB, free: 9.91 MB / 0.8419 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=400 -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/jenkins1/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