Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001427/0.001427, allocations: 103.5 kB / 16.27 MB, free: 6.418 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.001496/0.001497, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.503/1.503, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.566/2.566, allocations: 437.1 MB / 0.7111 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 64.97 kB / 0.87 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3133, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002777/0.3161, allocations: 1.285 MB / 1.019 GB, free: 9.32 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.3176, allocations: 1.084 MB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.3178, allocations: 4 kB / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001713/0.3181, allocations: 35.59 kB / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.921e-05/0.3182, allocations: 27.62 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.3184, allocations: 107.8 kB / 1.021 GB, free: 8.051 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003046/0.3188, allocations: 292.3 kB / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003004/0.3191, allocations: 173.7 kB / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.3193, allocations: 107.6 kB / 1.021 GB, free: 7.488 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.3194, allocations: 127.4 kB / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.88e-05/0.3195, allocations: 32 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 4.228e-05/0.3195, allocations: 32 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.336e-05/0.3196, allocations: 63.78 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.3197, allocations: 131.2 kB / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004009/0.3202, allocations: 375 kB / 1.022 GB, free: 6.742 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3202, allocations: 0 / 1.022 GB, free: 6.742 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3202, allocations: 0 / 1.022 GB, free: 6.742 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.3202, allocations: 4 kB / 1.022 GB, free: 6.738 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009/0.3211, allocations: 0.5342 MB / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.3211, allocations: 12.03 kB / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.757e-05/0.3212, allocations: 32.55 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005453/0.3218, allocations: 313.1 kB / 1.023 GB, free: 5.758 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/0.3218, allocations: 20.94 kB / 1.023 GB, free: 5.738 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.862e-05/0.3219, allocations: 28.31 kB / 1.023 GB, free: 5.711 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004735/0.3223, allocations: 229.4 kB / 1.023 GB, free: 5.484 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3224, allocations: 192 / 1.023 GB, free: 5.484 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.102e-05/0.3224, allocations: 15.94 kB / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.3224, allocations: 4 kB / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004504/0.3229, allocations: 182.1 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.3239, allocations: 0.6585 MB / 1.024 GB, free: 4.578 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004213/0.3243, allocations: 154.4 kB / 1.024 GB, free: 4.418 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.3245, allocations: 69 kB / 1.024 GB, free: 4.348 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.757e-05/0.3246, allocations: 4 kB / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.3246, allocations: 34.56 kB / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of pre-optimization done (n=17): time 5.5e-06/0.3246, allocations: 7.984 kB / 1.024 GB, free: 4.293 MB / 0.795 GB Notification: Performance of matching and sorting (n=17): time 0.0006504/0.3253, allocations: 217.2 kB / 1.024 GB, free: 4.074 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.3253, allocations: 55.39 kB / 1.024 GB, free: 4.008 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.3256, allocations: 204.7 kB / 1.024 GB, free: 3.797 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/0.3256, allocations: 33.7 kB / 1.024 GB, free: 3.758 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.3257, allocations: 164 kB / 1.025 GB, free: 3.594 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.715e-05/0.3258, allocations: 51.42 kB / 1.025 GB, free: 3.543 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.974e-05/0.3259, allocations: 57.69 kB / 1.025 GB, free: 3.48 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.326, allocations: 330.8 kB / 1.025 GB, free: 3.148 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.3262, allocations: 59.95 kB / 1.025 GB, free: 3.09 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.3265, allocations: 129.1 kB / 1.025 GB, free: 2.941 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003675/0.3268, allocations: 161.1 kB / 1.025 GB, free: 2.762 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3268, allocations: 0 / 1.025 GB, free: 2.762 MB / 0.795 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000484/0.3273, allocations: 227.6 kB / 1.026 GB, free: 2.535 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.3274, allocations: 4 kB / 1.026 GB, free: 2.531 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3274, allocations: 4 kB / 1.026 GB, free: 2.527 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.3274, allocations: 0 / 1.026 GB, free: 2.527 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.3276, allocations: 43.91 kB / 1.026 GB, free: 2.484 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.3276, allocations: 4 kB / 1.026 GB, free: 2.48 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.3277, allocations: 39.61 kB / 1.026 GB, free: 2.441 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.3278, allocations: 8.219 kB / 1.026 GB, free: 2.434 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.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 (25): * Single equations (assignments): 25 * 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.0001668/0.3279, allocations: 149.7 kB / 1.026 GB, free: 2.277 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/0.328, allocations: 15.81 kB / 1.026 GB, free: 2.262 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.761e-05/0.328, allocations: 25.86 kB / 1.026 GB, free: 2.242 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3281, allocations: 4 kB / 1.026 GB, free: 2.238 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3281, allocations: 0 / 1.026 GB, free: 2.238 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.3281, allocations: 0 / 1.026 GB, free: 2.238 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003532/0.3284, allocations: 305.3 kB / 1.026 GB, free: 1.891 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3284, allocations: 4 kB / 1.026 GB, free: 1.887 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.3286, allocations: 23.92 kB / 1.026 GB, free: 1.863 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3286, allocations: 4 kB / 1.026 GB, free: 1.859 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.3286, allocations: 7.938 kB / 1.026 GB, free: 1.852 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3286, allocations: 3.984 kB / 1.026 GB, free: 1.848 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3286, allocations: 0 / 1.026 GB, free: 1.848 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004544/0.3291, allocations: 267.1 kB / 1.026 GB, free: 1.57 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.109e-05/0.3292, allocations: 88.92 kB / 1.027 GB, free: 1.465 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.3292, allocations: 3.984 kB / 1.027 GB, free: 1.461 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.3294, allocations: 15.98 kB / 1.027 GB, free: 1.445 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.302e-05/0.3295, allocations: 27.97 kB / 1.027 GB, free: 1.418 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.3295, allocations: 4 kB / 1.027 GB, free: 1.414 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001166/0.3296, allocations: 136.5 kB / 1.027 GB, free: 1.281 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3296, allocations: 0 / 1.027 GB, free: 1.281 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002834/0.3299, allocations: 51.75 kB / 1.027 GB, free: 1.23 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (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,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 (17): * Single equations (assignments): 17 * 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.0001499/0.33, allocations: 115.2 kB / 1.027 GB, free: 1.109 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004899/0.3305, allocations: 170.1 kB / 1.027 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3306, allocations: 448 / 1.027 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.3308, allocations: 79.89 kB / 1.027 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.3311, allocations: 25.75 kB / 1.027 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007889/0.3319, allocations: 421.7 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.3323, allocations: 0.7406 MB / 1.028 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.342e-05/0.3324, allocations: 31.42 kB / 1.028 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of SimCode: time 3.51e-07/0.3324, allocations: 0 / 1.028 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of Templates: time 0.004986/0.3374, allocations: 2.653 MB / 1.031 GB, free: 12.96 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches