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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001596/0.001596, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 200.1 kB / 16.79 MB, free: 6.828 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.443/1.443, allocations: 222.9 MB / 240.5 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.795/2.795, allocations: 461.9 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 68.92 kB / 0.8991 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3286, allocations: 157.4 MB / 1.053 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.003128/0.3317, allocations: 1.359 MB / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001576/0.3334, allocations: 1.076 MB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002861/0.3337, allocations: 8 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002259/0.3339, allocations: 23.72 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001611/0.3341, allocations: 15.86 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003289/0.3344, allocations: 99.86 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003639/0.3348, allocations: 276.3 kB / 1.056 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000347/0.3352, allocations: 172.8 kB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.3354, allocations: 103.5 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.3356, allocations: 115.4 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.126e-05/0.3357, allocations: 16 kB / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.951e-05/0.3357, allocations: 16 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.453e-05/0.3358, allocations: 47.83 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.3359, allocations: 111.3 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.3362, allocations: 319.5 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3362, allocations: 3.938 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3362, allocations: 4 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.3362, allocations: 0 / 1.056 GB, free: 4.492 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.001042/0.3373, allocations: 0.5459 MB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.3373, allocations: 15.97 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.887e-05/0.3374, allocations: 28.56 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005772/0.338, allocations: 321 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.019e-05/0.3381, allocations: 24.92 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.985e-05/0.3381, allocations: 24.38 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005043/0.3386, allocations: 233.4 kB / 1.058 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3386, allocations: 4.125 kB / 1.058 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.181e-05/0.3387, allocations: 15.94 kB / 1.058 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.3387, allocations: 11.92 kB / 1.058 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004704/0.3392, allocations: 186.1 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.3403, allocations: 0.6939 MB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/0.3408, allocations: 182.7 kB / 1.059 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.341, allocations: 72.83 kB / 1.059 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.341, allocations: 7.922 kB / 1.059 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.3411, allocations: 38.56 kB / 1.059 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=19): time 1.562e-06/0.3411, allocations: 0 / 1.059 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of matching and sorting (n=19): time 0.0006681/0.3418, allocations: 231 kB / 1.059 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.3418, allocations: 51.41 kB / 1.059 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.342, allocations: 215.5 kB / 1.059 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.3421, allocations: 33.7 kB / 1.059 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.3422, allocations: 164.4 kB / 1.059 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.477e-05/0.3422, allocations: 51.3 kB / 1.059 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.502e-05/0.3423, allocations: 61.92 kB / 1.06 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.3425, allocations: 334.8 kB / 1.06 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.3427, allocations: 68.42 kB / 1.06 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.3429, allocations: 119.7 kB / 1.06 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003625/0.3433, allocations: 180.2 kB / 1.06 GB, free: 368 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3433, allocations: 0 / 1.06 GB, free: 368 kB / 0.8106 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004925/0.3438, allocations: 229.1 kB / 1.06 GB, free: 132 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.3438, allocations: 4.219 kB / 1.06 GB, free: 128 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.3438, allocations: 8 kB / 1.06 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.3438, allocations: 4 kB / 1.06 GB, free: 116 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.344, allocations: 35.91 kB / 1.06 GB, free: 80 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.344, allocations: 4 kB / 1.06 GB, free: 76 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.3442, allocations: 27.83 kB / 1.061 GB, free: 48 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.3442, allocations: 12 kB / 1.061 GB, free: 36 kB / 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.0002281/0.3445, allocations: 149.7 kB / 1.061 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.633e-05/0.3445, allocations: 15.81 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.765e-05/0.3446, allocations: 29.86 kB / 1.061 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3446, allocations: 8 kB / 1.061 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.3446, allocations: 0 / 1.061 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.3446, allocations: 0 / 1.061 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003441/0.345, allocations: 309.3 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.345, allocations: 4 kB / 1.061 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.3451, allocations: 27.91 kB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.3451, allocations: 4 kB / 1.061 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.3452, allocations: 4 kB / 1.061 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/0.3452, allocations: 4 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3452, allocations: 0 / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004647/0.3457, allocations: 277 kB / 1.061 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.526e-05/0.3457, allocations: 96.86 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.3458, allocations: 4 kB / 1.061 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.3459, allocations: 15.98 kB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.723e-05/0.346, allocations: 31.89 kB / 1.061 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.346, allocations: 8 kB / 1.061 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001122/0.3461, allocations: 145.4 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.452e-06/0.3462, allocations: 0 / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002983/0.3465, allocations: 47.78 kB / 1.062 GB, free: 14.79 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.0001485/0.3466, allocations: 116.8 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000446/0.3471, allocations: 173.5 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3471, allocations: 4 kB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001857/0.3473, allocations: 80.33 kB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.3476, allocations: 33.61 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000827/0.3485, allocations: 0.5098 MB / 1.063 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.3488, allocations: 0.7451 MB / 1.063 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.5e-05/0.3489, allocations: 23.44 kB / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of SimCode: time 4.91e-07/0.3489, allocations: 4 kB / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of Templates: time 0.005173/0.3541, allocations: 2.732 MB / 1.066 GB, free: 10.32 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/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