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.0008206/0.0008206, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.005942/0.005943, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.595/1.595, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.83/2.83, allocations: 462.7 MB / 0.7364 GB, free: 276 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003987/0.0003987, allocations: 12.61 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4214/0.4218, allocations: 159.6 MB / 1.059 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002159/0.424, allocations: 0.9773 MB / 1.06 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002444/0.4265, allocations: 1.073 MB / 1.061 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002368/0.4268, allocations: 4 kB / 1.061 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002109/0.427, allocations: 23.78 kB / 1.061 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.4271, allocations: 23.8 kB / 1.061 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.4275, allocations: 87.88 kB / 1.061 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003716/0.4279, allocations: 276.3 kB / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004031/0.4283, allocations: 168.8 kB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.4285, allocations: 91.44 kB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.4287, allocations: 83.44 kB / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.039e-05/0.4288, allocations: 4 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.574e-05/0.4288, allocations: 8 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.865e-05/0.4289, allocations: 35.83 kB / 1.062 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.429, allocations: 125 kB / 1.062 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006343/0.4297, allocations: 366.8 kB / 1.062 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.4297, allocations: 4 kB / 1.062 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.427e-06/0.4297, allocations: 0 / 1.062 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.4297, allocations: 0 / 1.062 GB, free: 2.102 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.00119/0.4309, allocations: 0.5031 MB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.4309, allocations: 12.03 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.305e-05/0.431, allocations: 32.56 kB / 1.063 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000588/0.4316, allocations: 325 kB / 1.063 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.4317, allocations: 20.94 kB / 1.063 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.107e-05/0.4317, allocations: 32.38 kB / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005086/0.4322, allocations: 233.4 kB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.4323, allocations: 4.172 kB / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.507e-05/0.4323, allocations: 23.86 kB / 1.063 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.4323, allocations: 4 kB / 1.063 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000474/0.4328, allocations: 206.1 kB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.434, allocations: 0.6939 MB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004564/0.4344, allocations: 186.7 kB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/0.4347, allocations: 76.83 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.4348, allocations: 11.98 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.4348, allocations: 30.56 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=19): time 1.814e-06/0.4348, allocations: 0 / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19): time 0.0008511/0.4357, allocations: 254.3 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.4357, allocations: 59.39 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.436, allocations: 211.5 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.436, allocations: 33.7 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/0.4363, allocations: 164.4 kB / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.377e-05/0.4364, allocations: 51.3 kB / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002253/0.4366, allocations: 45.69 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.4368, allocations: 330.8 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.437, allocations: 68.42 kB / 1.065 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/0.4373, allocations: 136.4 kB / 1.066 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003928/0.4377, allocations: 193.3 kB / 1.066 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4377, allocations: 4 kB / 1.066 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005001/0.4382, allocations: 237.4 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.4383, allocations: 4 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.4383, allocations: 4 kB / 1.066 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.4383, allocations: 4 kB / 1.066 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.4385, allocations: 39.91 kB / 1.066 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.4385, allocations: 4 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.4387, allocations: 27.83 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.4387, allocations: 12.06 kB / 1.066 GB, free: 13.61 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.0002007/0.4389, allocations: 153.7 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.693e-05/0.4389, allocations: 23.72 kB / 1.066 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.077e-05/0.439, allocations: 21.88 kB / 1.066 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.439, allocations: 4 kB / 1.066 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.439, allocations: 0 / 1.066 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.439, allocations: 3.984 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003703/0.4394, allocations: 313.3 kB / 1.067 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.4394, allocations: 0 / 1.067 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.4396, allocations: 31.92 kB / 1.067 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4396, allocations: 0 / 1.067 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.4396, allocations: 7.984 kB / 1.067 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4396, allocations: 0 / 1.067 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4396, allocations: 0 / 1.067 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005207/0.4401, allocations: 288.6 kB / 1.067 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.739e-05/0.4402, allocations: 96.84 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.4403, allocations: 4 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.4404, allocations: 27.92 kB / 1.067 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.215e-05/0.4405, allocations: 19.97 kB / 1.067 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.4405, allocations: 7.984 kB / 1.067 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001796/0.4407, allocations: 141.5 kB / 1.067 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4407, allocations: 0 / 1.067 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002877/0.441, allocations: 47.75 kB / 1.067 GB, free: 12.35 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.0001667/0.4412, allocations: 120.4 kB / 1.067 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005642/0.4417, allocations: 185.5 kB / 1.068 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4418, allocations: 4 kB / 1.068 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.442, allocations: 91.89 kB / 1.068 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.4423, allocations: 23.94 kB / 1.068 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008114/0.4431, allocations: 495.2 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000438/0.4436, allocations: 0.7529 MB / 1.069 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001368/0.4437, allocations: 29.94 kB / 1.069 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.076e-05/0.4438, allocations: 27.42 kB / 1.069 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.4438, allocations: 4 kB / 1.069 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of Templates: time 0.005596/0.4494, allocations: 1.761 MB / 1.071 GB, free: 8.879 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