Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002206/0.002206, allocations: 199.2 kB / 16.14 MB, free: 6.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.615/1.615, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.142/3.142, allocations: 437 MB / 0.71 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002018, allocations: 68.12 kB / 0.8686 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7369/0.739, allocations: 151.6 MB / 1.017 GB, free: 2.879 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002929/0.7419, allocations: 1.159 MB / 1.018 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.7435, allocations: 1.006 MB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.7436, allocations: 4 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.501e-05/0.7437, allocations: 15.84 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.7439, allocations: 19.88 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.7441, allocations: 67.94 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003259/0.7445, allocations: 200.2 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002858/0.7448, allocations: 120.2 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.745, allocations: 79.66 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.7451, allocations: 83.55 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.796e-05/0.7452, allocations: 12 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.667e-05/0.7452, allocations: 12 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.757e-05/0.7453, allocations: 47.81 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.7454, allocations: 83.48 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003483/0.7458, allocations: 269 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.7458, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7458, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.7458, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0009132/0.7467, allocations: 499.1 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.7468, allocations: 8.031 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.573e-05/0.7468, allocations: 24.66 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005421/0.7474, allocations: 274 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.7474, allocations: 12.81 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.593e-05/0.7475, allocations: 20.38 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004514/0.7479, allocations: 187.8 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.748, allocations: 7.875 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/0.748, allocations: 12 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.748, allocations: 4 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004206/0.7484, allocations: 149.6 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.7495, allocations: 0.5725 MB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003471/0.7498, allocations: 126.7 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.75, allocations: 64.77 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.75, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/0.7501, allocations: 46.5 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.132e-06/0.7501, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0006761/0.7508, allocations: 197.3 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.7508, allocations: 59.34 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.7511, allocations: 174.2 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.7511, allocations: 29.7 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.7512, allocations: 136.2 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.349e-05/0.7513, allocations: 43.45 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.833e-05/0.7514, allocations: 53.7 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002087/0.7516, allocations: 326.8 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.7518, allocations: 51.97 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.752, allocations: 94.59 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/0.7524, allocations: 143.8 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7524, allocations: 4 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000461/0.7529, allocations: 185.2 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.7529, allocations: 8 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.7529, allocations: 0 / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.7529, allocations: 4 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.7531, allocations: 40 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.7532, allocations: 4 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.7533, allocations: 19.84 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.7533, allocations: 11.97 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.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 (20): * Single equations (assignments): 20 * 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.0001751/0.7535, allocations: 142.3 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.7535, allocations: 11.81 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.871e-05/0.7536, allocations: 21.53 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.7536, allocations: 3.938 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.7536, allocations: 4 kB / 1.023 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.7536, allocations: 7.984 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/0.754, allocations: 253.6 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.754, allocations: 0 / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.7541, allocations: 27.97 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.7541, allocations: 3.938 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.7541, allocations: 0 / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.097e-06/0.7542, allocations: 3.938 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.7542, allocations: 4 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004488/0.7546, allocations: 253 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.968e-05/0.7547, allocations: 92.86 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.7547, allocations: 7.984 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.7549, allocations: 11.94 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.525e-05/0.755, allocations: 23.97 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.755, allocations: 4 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001103/0.7551, allocations: 121.8 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7551, allocations: 0 / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002702/0.7554, allocations: 35.84 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0001565/0.7555, allocations: 115.2 kB / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004375/0.756, allocations: 140.1 kB / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.756, allocations: 0 / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.7562, allocations: 75.89 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.7566, allocations: 21.2 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007855/0.7574, allocations: 388.7 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.7578, allocations: 0.7283 MB / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001161/0.7579, allocations: 21.55 kB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.07e-05/0.758, allocations: 15.44 kB / 1.026 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of SimCode: time 4.41e-07/0.758, allocations: 4 kB / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of Templates: time 0.005808/0.7638, allocations: 1.29 MB / 1.027 GB, free: 8.023 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches