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.001744/0.001744, allocations: 106.5 kB / 16.41 MB, free: 6.453 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.001802/0.001802, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.16 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.525/2.525, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001517, allocations: 63.91 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8144/0.8159, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002672/0.8187, allocations: 1.294 MB / 1.169 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.8201, allocations: 1.076 MB / 1.17 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.8203, allocations: 4 kB / 1.17 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001737/0.8205, allocations: 31.55 kB / 1.17 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.8207, allocations: 39.67 kB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.821, allocations: 115.8 kB / 1.17 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003087/0.8213, allocations: 280.4 kB / 1.17 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002884/0.8216, allocations: 176.8 kB / 1.17 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.8218, allocations: 115.5 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.8219, allocations: 119.4 kB / 1.17 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.694e-05/0.822, allocations: 31.94 kB / 1.171 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.727e-05/0.822, allocations: 32 kB / 1.171 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.337e-05/0.8221, allocations: 67.75 kB / 1.171 GB, free: 480 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.8222, allocations: 127.3 kB / 1.171 GB, free: 352 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003918/0.8226, allocations: 386.4 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.8226, allocations: 3.938 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.472e-06/0.8226, allocations: 0 / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.8227, allocations: 4 kB / 1.171 GB, free: 15.96 MB / 0.9044 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.0008979/0.8236, allocations: 0.5321 MB / 1.172 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.8236, allocations: 8.625 kB / 1.172 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.719e-05/0.8237, allocations: 28.66 kB / 1.172 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006016/0.8243, allocations: 321 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.8243, allocations: 24.94 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.616e-05/0.8244, allocations: 16.38 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004556/0.8248, allocations: 229.4 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.8249, allocations: 192 / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/0.8249, allocations: 15.94 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.8249, allocations: 11.88 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000439/0.8254, allocations: 182.1 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.8264, allocations: 0.6584 MB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004032/0.8268, allocations: 154.6 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/0.827, allocations: 68.86 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.827, allocations: 4 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.827, allocations: 30.56 kB / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=17): time 1.513e-06/0.827, allocations: 0 / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of matching and sorting (n=17): time 0.000618/0.8277, allocations: 231.7 kB / 1.174 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.8277, allocations: 51.41 kB / 1.174 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.8279, allocations: 207.6 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.8279, allocations: 37.69 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.828, allocations: 164.1 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.8281, allocations: 43.36 kB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.844e-05/0.8282, allocations: 57.69 kB / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.8283, allocations: 330.8 kB / 1.174 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.8285, allocations: 59.95 kB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.8287, allocations: 113.7 kB / 1.175 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003516/0.8291, allocations: 174.6 kB / 1.175 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.8291, allocations: 0 / 1.175 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004673/0.8296, allocations: 223.4 kB / 1.175 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.8296, allocations: 4.219 kB / 1.175 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.8296, allocations: 8 kB / 1.175 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.8296, allocations: 3.984 kB / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.8298, allocations: 35.92 kB / 1.175 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.659e-06/0.8298, allocations: 4 kB / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.83, allocations: 27.83 kB / 1.175 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.83, allocations: 11.98 kB / 1.175 GB, free: 11.68 MB / 0.9044 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.0001459/0.8302, allocations: 159.2 kB / 1.175 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.054e-05/0.8302, allocations: 15.81 kB / 1.175 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.075e-05/0.8303, allocations: 21.88 kB / 1.175 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.8303, allocations: 4 kB / 1.175 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.8303, allocations: 3.984 kB / 1.175 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.8303, allocations: 0 / 1.175 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000308/0.8306, allocations: 297.3 kB / 1.176 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.8306, allocations: 0 / 1.176 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/0.8308, allocations: 27.97 kB / 1.176 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.8308, allocations: 0 / 1.176 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.8308, allocations: 8 kB / 1.176 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.8308, allocations: 0 / 1.176 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.8308, allocations: 0 / 1.176 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000449/0.8313, allocations: 271.1 kB / 1.176 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.261e-05/0.8314, allocations: 92.86 kB / 1.176 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.8314, allocations: 4 kB / 1.176 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.8315, allocations: 15.98 kB / 1.176 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.451e-05/0.8316, allocations: 27.97 kB / 1.176 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.8317, allocations: 11.92 kB / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001072/0.8318, allocations: 137.5 kB / 1.176 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8318, allocations: 0 / 1.176 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003072/0.8321, allocations: 47.75 kB / 1.176 GB, free: 10.46 MB / 0.9044 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.0001584/0.8323, allocations: 116.1 kB / 1.176 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004364/0.8327, allocations: 161.9 kB / 1.176 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.8327, allocations: 0 / 1.176 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.8329, allocations: 79.89 kB / 1.176 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.8333, allocations: 28.23 kB / 1.176 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008314/0.8341, allocations: 423.7 kB / 1.177 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.8345, allocations: 0.7445 MB / 1.178 GB, free: 8.859 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.35e-05/0.8346, allocations: 23.44 kB / 1.178 GB, free: 8.836 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.8346, allocations: 0 / 1.178 GB, free: 8.836 MB / 0.9044 GB Notification: Performance of Templates: time 0.005187/0.8398, allocations: 2.677 MB / 1.18 GB, free: 6.176 MB / 0.9044 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=480 -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