Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.DualDuctMixConDischargeSensor.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_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.002006/0.002006, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.569/2.569, allocations: 390.9 MB / 0.666 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003902, allocations: 8 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8256/0.826, allocations: 142.4 MB / 0.9545 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.001416/0.8274, allocations: 0.7687 MB / 0.9552 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.8286, allocations: 0.993 MB / 0.9562 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.4e-05/0.8287, allocations: 3.094 kB / 0.9562 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.015e-05/0.8287, allocations: 11.86 kB / 0.9562 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.8288, allocations: 18.92 kB / 0.9562 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.829, allocations: 54.75 kB / 0.9563 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.8293, allocations: 191.5 kB / 0.9565 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002393/0.8295, allocations: 91.22 kB / 0.9566 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.8297, allocations: 60.78 kB / 0.9566 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.8298, allocations: 64.81 kB / 0.9567 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.8298, allocations: 4.656 kB / 0.9567 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.057e-05/0.8298, allocations: 6.5 kB / 0.9567 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.893e-05/0.8299, allocations: 33.42 kB / 0.9567 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.906e-05/0.8299, allocations: 54.61 kB / 0.9568 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.8301, allocations: 213.6 kB / 0.957 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.8301, allocations: 0 / 0.957 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.254e-06/0.8301, allocations: 0 / 0.957 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.8301, allocations: 4 kB / 0.957 GB, free: 5.805 MB / 0.7169 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.0006028/0.8307, allocations: 461.3 kB / 0.9574 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.8308, allocations: 10.28 kB / 0.9574 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.493e-05/0.8309, allocations: 26.02 kB / 0.9575 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004197/0.8313, allocations: 287.5 kB / 0.9577 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.8313, allocations: 13.19 kB / 0.9577 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.8313, allocations: 25.05 kB / 0.9578 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.8317, allocations: 192.9 kB / 0.958 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.8318, allocations: 4 kB / 0.958 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.8318, allocations: 9.594 kB / 0.958 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.8318, allocations: 4.688 kB / 0.958 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003681/0.8322, allocations: 159.9 kB / 0.9581 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006789/0.8329, allocations: 0.5635 MB / 0.9587 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/0.8332, allocations: 136.5 kB / 0.9588 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.8333, allocations: 68.58 kB / 0.9589 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.8334, allocations: 5.359 kB / 0.9589 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.8334, allocations: 31.94 kB / 0.9589 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.8334, allocations: 3.938 kB / 0.9589 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.000551/0.8339, allocations: 221.4 kB / 0.9591 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.834, allocations: 54 kB / 0.9592 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.8341, allocations: 174.2 kB / 0.9593 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.8342, allocations: 26.83 kB / 0.9594 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.338e-05/0.8342, allocations: 150.4 kB / 0.9595 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.8343, allocations: 44.77 kB / 0.9596 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.796e-06/0.8343, allocations: 5.031 kB / 0.9596 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.403e-05/0.8344, allocations: 322.1 kB / 0.9599 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.8345, allocations: 57.45 kB / 0.9599 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.8347, allocations: 109.2 kB / 0.96 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.8349, allocations: 55.48 kB / 0.9601 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.8349, allocations: 1.125 kB / 0.9601 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003904/0.8353, allocations: 196.1 kB / 0.9603 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.8353, allocations: 5.25 kB / 0.9603 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.8353, allocations: 1.031 kB / 0.9603 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.8353, allocations: 3.375 kB / 0.9603 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.8355, allocations: 37.16 kB / 0.9603 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.8355, allocations: 2.656 kB / 0.9603 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.8356, allocations: 30.67 kB / 0.9603 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.8357, allocations: 5.031 kB / 0.9603 GB, free: 3.07 MB / 0.7169 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 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.8358, allocations: 146.5 kB / 0.9605 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.8358, allocations: 10.22 kB / 0.9605 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.242e-05/0.8359, allocations: 20.27 kB / 0.9605 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.8359, allocations: 2.75 kB / 0.9605 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.8359, allocations: 0 / 0.9605 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.8359, allocations: 4 kB / 0.9605 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.8361, allocations: 270.8 kB / 0.9608 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.8361, allocations: 0 / 0.9608 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.8363, allocations: 25.84 kB / 0.9608 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.8363, allocations: 1.375 kB / 0.9608 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.8363, allocations: 1.375 kB / 0.9608 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.8363, allocations: 0 / 0.9608 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.8363, allocations: 5.312 kB / 0.9608 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003675/0.8367, allocations: 271.5 kB / 0.9611 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.573e-05/0.8367, allocations: 85.45 kB / 0.9612 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.8367, allocations: 5.25 kB / 0.9612 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.8369, allocations: 18.67 kB / 0.9612 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.454e-05/0.8369, allocations: 20.62 kB / 0.9612 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.837, allocations: 2.969 kB / 0.9612 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.191e-05/0.837, allocations: 119.8 kB / 0.9613 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8371, allocations: 0 / 0.9613 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002691/0.8373, allocations: 43.62 kB / 0.9614 GB, free: 2.184 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001324/0.8375, allocations: 124.1 kB / 0.9615 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003863/0.8379, allocations: 150.5 kB / 0.9616 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.8379, allocations: 1.344 kB / 0.9616 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.8381, allocations: 82.42 kB / 0.9617 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.8384, allocations: 18.39 kB / 0.9617 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005912/0.839, allocations: 379.9 kB / 0.9621 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/0.8392, allocations: 0.7258 MB / 0.9628 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001087/0.8393, allocations: 23.59 kB / 0.9628 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.145e-05/0.8393, allocations: 21.23 kB / 0.9628 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.8393, allocations: 4 kB / 0.9628 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of Templates: time 0.004269/0.8436, allocations: 1.251 MB / 0.9641 GB, free: 348 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches