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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001344/0.001344, allocations: 110.9 kB / 16.41 MB, free: 6.008 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.001433/0.001433, allocations: 182.3 kB / 17.34 MB, free: 5.629 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.516/2.516, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 59.91 kB / 1.055 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7989/0.8003, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.00282/0.8032, allocations: 1.121 MB / 1.21 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.8048, allocations: 1.018 MB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.805, allocations: 8 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 8.36e-05/0.8051, allocations: 23.67 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002015/0.8053, allocations: 23.73 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002935/0.8056, allocations: 91.78 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002805/0.8059, allocations: 224.2 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003112/0.8063, allocations: 132.1 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.8065, allocations: 95.58 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.8067, allocations: 103.5 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.149e-05/0.8067, allocations: 24 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.664e-05/0.8068, allocations: 24 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.144e-05/0.8068, allocations: 47.84 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.813e-05/0.8069, allocations: 107.3 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003681/0.8073, allocations: 306.7 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.8073, allocations: 4 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.803e-06/0.8073, allocations: 4 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.8073, allocations: 0 / 1.212 GB, free: 10.23 MB / 0.9356 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.0008576/0.8082, allocations: 497 kB / 1.212 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.8083, allocations: 12.03 kB / 1.212 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.773e-05/0.8083, allocations: 28.66 kB / 1.212 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00052/0.8089, allocations: 280.2 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.8089, allocations: 20.81 kB / 1.213 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.322e-05/0.8089, allocations: 24.36 kB / 1.213 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004149/0.8094, allocations: 199.8 kB / 1.213 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.8094, allocations: 192 / 1.213 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.8094, allocations: 11.94 kB / 1.213 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.8094, allocations: 8 kB / 1.213 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003901/0.8098, allocations: 161.6 kB / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008768/0.8107, allocations: 0.5761 MB / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003573/0.8111, allocations: 161.7 kB / 1.214 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.8113, allocations: 68.81 kB / 1.214 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.8113, allocations: 4 kB / 1.214 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.8113, allocations: 34.56 kB / 1.214 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.8113, allocations: 0 / 1.214 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17): time 0.0006142/0.8119, allocations: 213.2 kB / 1.214 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.812, allocations: 59.41 kB / 1.214 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.8122, allocations: 187.9 kB / 1.214 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.8122, allocations: 29.7 kB / 1.214 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.485e-05/0.8123, allocations: 140.2 kB / 1.214 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.776e-05/0.8123, allocations: 43.45 kB / 1.214 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.07e-05/0.8124, allocations: 53.69 kB / 1.214 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.8126, allocations: 326.8 kB / 1.215 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.8127, allocations: 55.95 kB / 1.215 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.8129, allocations: 101 kB / 1.215 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003192/0.8133, allocations: 147 kB / 1.215 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.8133, allocations: 3.938 kB / 1.215 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004275/0.8137, allocations: 195.1 kB / 1.215 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.8137, allocations: 8 kB / 1.215 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.8138, allocations: 3.984 kB / 1.215 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.8138, allocations: 4 kB / 1.215 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.814, allocations: 27.98 kB / 1.215 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.814, allocations: 0 / 1.215 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.8141, allocations: 23.83 kB / 1.215 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.8142, allocations: 12.09 kB / 1.215 GB, free: 6.328 MB / 0.9356 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.000203/0.8144, allocations: 141.8 kB / 1.215 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.178e-05/0.8144, allocations: 19.75 kB / 1.215 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.897e-05/0.8145, allocations: 25.86 kB / 1.215 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.8145, allocations: 0 / 1.215 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.8145, allocations: 0 / 1.215 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.8145, allocations: 0 / 1.215 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002995/0.8148, allocations: 277.3 kB / 1.216 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.8148, allocations: 4 kB / 1.216 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.815, allocations: 27.91 kB / 1.216 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.815, allocations: 4 kB / 1.216 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.815, allocations: 4 kB / 1.216 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.815, allocations: 4 kB / 1.216 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.815, allocations: 0 / 1.216 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000432/0.8154, allocations: 271.1 kB / 1.216 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/0.8155, allocations: 88.95 kB / 1.216 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.8155, allocations: 4 kB / 1.216 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.8157, allocations: 11.98 kB / 1.216 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.589e-05/0.8157, allocations: 27.81 kB / 1.216 GB, free: 5.348 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.8158, allocations: 8 kB / 1.216 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.422e-05/0.8159, allocations: 119.2 kB / 1.216 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.51e-07/0.8159, allocations: 4 kB / 1.216 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002796/0.8161, allocations: 35.84 kB / 1.216 GB, free: 5.184 MB / 0.9356 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.0001256/0.8163, allocations: 111.2 kB / 1.216 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004096/0.8167, allocations: 153.3 kB / 1.217 GB, free: 4.914 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8167, allocations: 0 / 1.217 GB, free: 4.914 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001705/0.8169, allocations: 80.2 kB / 1.217 GB, free: 4.836 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.8172, allocations: 25.91 kB / 1.217 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006184/0.8178, allocations: 362.7 kB / 1.217 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.8181, allocations: 0.7358 MB / 1.218 GB, free: 3.664 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.844e-05/0.8182, allocations: 23.44 kB / 1.218 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of SimCode: time 6.31e-07/0.8182, allocations: 0 / 1.218 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of Templates: time 0.004029/0.8222, allocations: 2.18 MB / 1.22 GB, free: 1.469 MB / 0.9356 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/jenkins1/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