Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.0009264/0.0009262, allocations: 90.75 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.001193/0.001193, 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.458/1.458, allocations: 223.3 MB / 240 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.861/2.861, allocations: 462.6 MB / 0.736 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003784, allocations: 9.312 kB / 0.9022 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3607, allocations: 159.6 MB / 1.058 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.001492/0.3622, allocations: 0.7871 MB / 1.059 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001503/0.3637, allocations: 0.9909 MB / 1.06 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.3639, allocations: 4 kB / 1.06 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.036e-05/0.364, allocations: 15.8 kB / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.3641, allocations: 15.8 kB / 1.06 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.3644, allocations: 59.94 kB / 1.06 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000234/0.3646, allocations: 204.2 kB / 1.06 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002357/0.3649, allocations: 102.9 kB / 1.06 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.3651, allocations: 75.56 kB / 1.06 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.3652, allocations: 59.64 kB / 1.06 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.969e-05/0.3652, allocations: 8 kB / 1.06 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.897e-05/0.3652, allocations: 4 kB / 1.06 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.543e-05/0.3653, allocations: 35.83 kB / 1.06 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.842e-05/0.3653, allocations: 53.58 kB / 1.06 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.3656, allocations: 227.6 kB / 1.061 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3656, allocations: 0 / 1.061 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.136e-06/0.3656, allocations: 8 kB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.972e-06/0.3656, allocations: 0 / 1.061 GB, free: 2.59 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.0007944/0.3664, allocations: 463.1 kB / 1.061 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3665, allocations: 8.031 kB / 1.061 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.3666, allocations: 27.62 kB / 1.061 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006878/0.3673, allocations: 288.8 kB / 1.061 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.093e-05/0.3673, allocations: 16.44 kB / 1.061 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.91e-05/0.3674, allocations: 27.95 kB / 1.061 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005554/0.3679, allocations: 199.3 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.368, allocations: 0 / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.39e-05/0.368, allocations: 12 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.368, allocations: 4 kB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004714/0.3685, allocations: 173.6 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.3698, allocations: 0.5878 MB / 1.062 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004112/0.3702, allocations: 162.6 kB / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.3704, allocations: 78.53 kB / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.4e-05/0.3704, allocations: 4 kB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.3705, allocations: 30.56 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=17): time 1.763e-06/0.3705, allocations: 0 / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of matching and sorting (n=17): time 0.0007171/0.3712, allocations: 233.2 kB / 1.063 GB, free: 148 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.333e-05/0.3713, allocations: 55.41 kB / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.3716, allocations: 183.7 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.3716, allocations: 29.7 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.3717, allocations: 144.2 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.225e-05/0.3718, allocations: 43.36 kB / 1.063 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-05/0.3718, allocations: 4 kB / 1.063 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.372, allocations: 326.8 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.3722, allocations: 56.33 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.3725, allocations: 110.4 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.3727, allocations: 62.09 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3727, allocations: 0 / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004645/0.3731, allocations: 213.1 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.3732, allocations: 8 kB / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.3732, allocations: 0 / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/0.3732, allocations: 4 kB / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.3734, allocations: 27.98 kB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.303e-05/0.3735, allocations: 16.03 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.3736, allocations: 27.84 kB / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.3736, allocations: 7.984 kB / 1.064 GB, free: 14.79 MB / 0.8262 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 (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,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002284/0.3739, allocations: 137.8 kB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.906e-05/0.3739, allocations: 15.81 kB / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.975e-05/0.374, allocations: 25.81 kB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.374, allocations: 4 kB / 1.064 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.374, allocations: 0 / 1.064 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/0.374, allocations: 15.94 kB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003313/0.3744, allocations: 269.5 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.3744, allocations: 0 / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.3745, allocations: 23.98 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.435e-05/0.3745, allocations: 4 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.3746, allocations: 0 / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.3746, allocations: 0 / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3746, allocations: 4 kB / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004595/0.375, allocations: 281 kB / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.172e-05/0.3751, allocations: 96.86 kB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.3751, allocations: 7.984 kB / 1.065 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.3752, allocations: 11.98 kB / 1.065 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.827e-05/0.3753, allocations: 19.97 kB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.3754, allocations: 8 kB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.968e-05/0.3755, allocations: 124.2 kB / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3755, allocations: 0 / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002786/0.3757, allocations: 35.84 kB / 1.065 GB, free: 13.64 MB / 0.8262 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 (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.0001535/0.3759, allocations: 121.2 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004375/0.3763, allocations: 161.4 kB / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3764, allocations: 0 / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.3766, allocations: 87.89 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.3769, allocations: 19.98 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007446/0.3776, allocations: 396.5 kB / 1.066 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.378, allocations: 0.7321 MB / 1.067 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001175/0.3781, allocations: 25.53 kB / 1.067 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.541e-05/0.3782, allocations: 19.44 kB / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3782, allocations: 3.938 kB / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of Templates: time 0.004782/0.383, allocations: 1.284 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches