Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001349/0.001349, allocations: 118.9 kB / 16.37 MB, free: 6.016 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.001544/0.001544, allocations: 193 kB / 17.31 MB, free: 5.613 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.459/1.459, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.482/2.482, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 62.69 kB / 0.8774 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3424, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002478/0.3449, allocations: 1.137 MB / 1.028 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.3461, allocations: 1.026 MB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.234e-05/0.3462, allocations: 3.938 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.638e-05/0.3463, allocations: 23.67 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.3465, allocations: 35.66 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.3467, allocations: 79.92 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002593/0.347, allocations: 228.2 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002766/0.3473, allocations: 128.1 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.3474, allocations: 91.64 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.3476, allocations: 111.4 kB / 1.03 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.076e-05/0.3476, allocations: 24 kB / 1.03 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.93e-05/0.3477, allocations: 28 kB / 1.03 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.742e-05/0.3477, allocations: 51.84 kB / 1.03 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.896e-05/0.3478, allocations: 99.47 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000286/0.3481, allocations: 302.8 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3481, allocations: 0 / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3481, allocations: 0 / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.3481, allocations: 0 / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007752/0.3489, allocations: 0.4913 MB / 1.031 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.349, allocations: 8.031 kB / 1.031 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.096e-05/0.349, allocations: 36.55 kB / 1.031 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004768/0.3495, allocations: 277.1 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.3496, allocations: 16.81 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.471e-05/0.3496, allocations: 20.38 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004024/0.35, allocations: 199.8 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.35, allocations: 192 / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.3501, allocations: 15.94 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.3501, allocations: 4 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003733/0.3504, allocations: 153.7 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009154/0.3514, allocations: 0.5917 MB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003721/0.3518, allocations: 162.5 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.3519, allocations: 68.81 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.352, allocations: 4 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.352, allocations: 34.56 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=17): time 1.293e-06/0.352, allocations: 0 / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17): time 0.0006669/0.3527, allocations: 223.7 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.3528, allocations: 51.41 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.353, allocations: 183.2 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.353, allocations: 29.7 kB / 1.033 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.3531, allocations: 140.3 kB / 1.033 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.693e-05/0.3532, allocations: 47.3 kB / 1.033 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.176e-05/0.3533, allocations: 61.62 kB / 1.033 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.3534, allocations: 326.8 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.3536, allocations: 55.97 kB / 1.033 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.3537, allocations: 102.2 kB / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/0.3541, allocations: 140.9 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3541, allocations: 4 kB / 1.033 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003816/0.3545, allocations: 196 kB / 1.034 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.3545, allocations: 4 kB / 1.034 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3545, allocations: 4 kB / 1.034 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3545, allocations: 0 / 1.034 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.3547, allocations: 40.12 kB / 1.034 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.3547, allocations: 11.94 kB / 1.034 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.3548, allocations: 19.83 kB / 1.034 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.3549, allocations: 8 kB / 1.034 GB, free: 10.75 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.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 (22): * Single equations (assignments): 22 * 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.0001889/0.3551, allocations: 137.8 kB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.874e-05/0.3551, allocations: 19.75 kB / 1.034 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.123e-05/0.3552, allocations: 21.86 kB / 1.034 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3552, allocations: 4 kB / 1.034 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.3552, allocations: 4 kB / 1.034 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.3552, allocations: 0 / 1.034 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.3555, allocations: 281.3 kB / 1.034 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3555, allocations: 0 / 1.034 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.3556, allocations: 23.97 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3556, allocations: 0 / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.3556, allocations: 4 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3556, allocations: 0 / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3556, allocations: 4 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003837/0.356, allocations: 263.2 kB / 1.034 GB, free: 9.934 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.3561, allocations: 96.86 kB / 1.034 GB, free: 9.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.3561, allocations: 0 / 1.034 GB, free: 9.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.3562, allocations: 11.98 kB / 1.034 GB, free: 9.809 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.551e-05/0.3563, allocations: 15.98 kB / 1.034 GB, free: 9.793 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.3563, allocations: 11.98 kB / 1.034 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.128e-05/0.3564, allocations: 119.2 kB / 1.035 GB, free: 9.664 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3564, allocations: 0 / 1.035 GB, free: 9.664 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002647/0.3567, allocations: 39.84 kB / 1.035 GB, free: 9.625 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 0 () * 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.0001404/0.3568, allocations: 104.1 kB / 1.035 GB, free: 9.516 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003968/0.3573, allocations: 165.9 kB / 1.035 GB, free: 9.355 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3573, allocations: 0 / 1.035 GB, free: 9.355 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.3574, allocations: 75.89 kB / 1.035 GB, free: 9.281 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.3577, allocations: 23.88 kB / 1.035 GB, free: 9.258 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006334/0.3584, allocations: 350.6 kB / 1.035 GB, free: 8.887 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.3587, allocations: 0.7358 MB / 1.036 GB, free: 8.125 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.066e-05/0.3588, allocations: 21.53 kB / 1.036 GB, free: 8.105 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.331e-05/0.3588, allocations: 19.44 kB / 1.036 GB, free: 8.09 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3588, allocations: 4 kB / 1.036 GB, free: 8.086 MB / 0.8106 GB Notification: Performance of Templates: time 0.004503/0.3633, allocations: 1.477 MB / 1.038 GB, free: 6.664 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches