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.01222/0.01222, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.002469/0.002469, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.486/2.486, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 67.91 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.031, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002843/1.034, allocations: 1.3 MB / 1.168 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001487/1.036, allocations: 1.069 MB / 1.169 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/1.036, allocations: 4 kB / 1.169 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002103/1.036, allocations: 39.53 kB / 1.169 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000103/1.036, allocations: 43.67 kB / 1.169 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/1.037, allocations: 103.8 kB / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002937/1.037, allocations: 292.4 kB / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002818/1.037, allocations: 169.7 kB / 1.17 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/1.037, allocations: 107.6 kB / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002385/1.038, allocations: 131.3 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.837e-05/1.038, allocations: 32 kB / 1.17 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.944e-05/1.038, allocations: 28 kB / 1.17 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.09e-05/1.038, allocations: 67.77 kB / 1.17 GB, free: 440 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001589/1.038, allocations: 123.3 kB / 1.17 GB, free: 316 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000432/1.038, allocations: 387 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/1.039, allocations: 3.938 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of FrontEnd: time 5.04e-06/1.039, allocations: 4 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.337e-06/1.039, allocations: 4 kB / 1.17 GB, free: 15.92 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.0009047/1.039, allocations: 0.5456 MB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/1.039, allocations: 12.02 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.009e-05/1.04, allocations: 32.69 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006042/1.04, allocations: 317.2 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/1.04, allocations: 20.94 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.784e-05/1.04, allocations: 24.38 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004867/1.041, allocations: 221.4 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/1.041, allocations: 4.188 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/1.041, allocations: 15.88 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/1.041, allocations: 11.94 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004524/1.041, allocations: 182.1 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/1.042, allocations: 0.6549 MB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004219/1.043, allocations: 154.4 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/1.043, allocations: 73 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/1.043, allocations: 0 / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/1.043, allocations: 38.56 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=17): time 1.072e-06/1.043, allocations: 0 / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of matching and sorting (n=17): time 0.0006467/1.044, allocations: 223.8 kB / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/1.044, allocations: 51.41 kB / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/1.044, allocations: 211.7 kB / 1.173 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/1.044, allocations: 29.7 kB / 1.173 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/1.044, allocations: 164.2 kB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.218e-05/1.044, allocations: 51.7 kB / 1.173 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.665e-05/1.044, allocations: 61.64 kB / 1.173 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001448/1.044, allocations: 334.8 kB / 1.174 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/1.045, allocations: 59.97 kB / 1.174 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/1.045, allocations: 113 kB / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003351/1.045, allocations: 170.6 kB / 1.174 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/1.045, allocations: 4 kB / 1.174 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004336/1.046, allocations: 215.8 kB / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/1.046, allocations: 8 kB / 1.174 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/1.046, allocations: 4.219 kB / 1.174 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/1.046, allocations: 4 kB / 1.174 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/1.046, allocations: 47.84 kB / 1.174 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/1.046, allocations: 0 / 1.174 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/1.046, allocations: 35.77 kB / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/1.046, allocations: 8 kB / 1.174 GB, free: 11.61 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.0001472/1.046, allocations: 151.3 kB / 1.175 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/1.046, allocations: 19.89 kB / 1.175 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.114e-05/1.046, allocations: 21.88 kB / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/1.046, allocations: 0 / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/1.046, allocations: 0 / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/1.046, allocations: 0 / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/1.047, allocations: 301.4 kB / 1.175 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/1.047, allocations: 0 / 1.175 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/1.047, allocations: 23.98 kB / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/1.047, allocations: 0 / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/1.047, allocations: 15.98 kB / 1.175 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/1.047, allocations: 0 / 1.175 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.047, allocations: 4 kB / 1.175 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000436/1.047, allocations: 271.1 kB / 1.175 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.885e-05/1.047, allocations: 96.91 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/1.047, allocations: 4 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/1.048, allocations: 15.98 kB / 1.175 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/1.048, allocations: 27.97 kB / 1.175 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/1.048, allocations: 7.938 kB / 1.175 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001094/1.048, allocations: 137.5 kB / 1.175 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of sort global known variables: time 9e-08/1.048, allocations: 0 / 1.175 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002837/1.048, allocations: 43.89 kB / 1.175 GB, free: 10.39 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.0001669/1.048, allocations: 123.2 kB / 1.176 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004573/1.049, allocations: 153.8 kB / 1.176 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.049, allocations: 0 / 1.176 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000182/1.049, allocations: 79.89 kB / 1.176 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/1.049, allocations: 36.22 kB / 1.176 GB, free: 10 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007743/1.05, allocations: 389.5 kB / 1.176 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/1.05, allocations: 0.7445 MB / 1.177 GB, free: 8.824 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000114/1.051, allocations: 29.88 kB / 1.177 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.174e-05/1.051, allocations: 27.42 kB / 1.177 GB, free: 8.77 MB / 0.9044 GB Notification: Performance of SimCode: time 2.6e-07/1.051, allocations: 4 kB / 1.177 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of Templates: time 0.005595/1.056, allocations: 1.941 MB / 1.179 GB, free: 6.891 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/jenkins/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