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.0009294/0.0009294, allocations: 99.27 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 180.1 kB / 16.92 MB, free: 6.918 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.454/1.454, allocations: 223.3 MB / 241 MB, free: 5.27 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.547/2.547, allocations: 390.9 MB / 0.667 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004052/0.0004053, allocations: 8 kB / 0.8167 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.854/0.8544, allocations: 142.4 MB / 0.9558 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.001443/0.8559, allocations: 0.8039 MB / 0.9565 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001496/0.8574, allocations: 0.9983 MB / 0.9575 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.8576, allocations: 3.281 kB / 0.9575 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.233e-05/0.8577, allocations: 15.8 kB / 0.9575 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.8579, allocations: 22.45 kB / 0.9576 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.8582, allocations: 71.34 kB / 0.9576 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.8584, allocations: 201.4 kB / 0.9578 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000271/0.8587, allocations: 114.1 kB / 0.9579 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.8589, allocations: 65.02 kB / 0.958 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.859, allocations: 64.2 kB / 0.9581 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.177e-05/0.8591, allocations: 5.906 kB / 0.9581 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.733e-05/0.8591, allocations: 4.719 kB / 0.9581 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.848e-05/0.8591, allocations: 34.67 kB / 0.9581 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.753e-05/0.8592, allocations: 95.72 kB / 0.9582 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.8595, allocations: 212.8 kB / 0.9584 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.8595, allocations: 0.9062 kB / 0.9584 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8595, allocations: 0 / 0.9584 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.978e-06/0.8595, allocations: 0 / 0.9584 GB, free: 5.547 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.0006781/0.8602, allocations: 464.2 kB / 0.9588 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.8602, allocations: 8.281 kB / 0.9588 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.3e-05/0.8603, allocations: 24.25 kB / 0.9589 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005014/0.8608, allocations: 283.5 kB / 0.9591 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.8609, allocations: 21.81 kB / 0.9592 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.25e-05/0.8609, allocations: 25.27 kB / 0.9592 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004306/0.8614, allocations: 197.9 kB / 0.9594 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.8614, allocations: 0 / 0.9594 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.8614, allocations: 5.5 kB / 0.9594 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.8614, allocations: 8.969 kB / 0.9594 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004044/0.8618, allocations: 165.5 kB / 0.9595 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000801/0.8626, allocations: 0.563 MB / 0.9601 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.863, allocations: 139.2 kB / 0.9602 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.8632, allocations: 68.56 kB / 0.9603 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.8632, allocations: 1.375 kB / 0.9603 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/0.8632, allocations: 35.94 kB / 0.9603 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 2.114e-06/0.8632, allocations: 3.984 kB / 0.9603 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0006374/0.8639, allocations: 223 kB / 0.9605 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.8639, allocations: 58 kB / 0.9606 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.8641, allocations: 176.3 kB / 0.9608 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.8641, allocations: 27.05 kB / 0.9608 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.679e-05/0.8642, allocations: 145.7 kB / 0.9609 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.8642, allocations: 41.25 kB / 0.961 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.354e-05/0.8643, allocations: 37 kB / 0.961 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.053e-05/0.8643, allocations: 333.6 kB / 0.9613 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.8645, allocations: 53.66 kB / 0.9614 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.8647, allocations: 105.1 kB / 0.9615 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003576/0.8651, allocations: 148.2 kB / 0.9616 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.8651, allocations: 0 / 0.9616 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004803/0.8656, allocations: 202.9 kB / 0.9618 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.8656, allocations: 5.5 kB / 0.9618 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.8656, allocations: 5.906 kB / 0.9618 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.8657, allocations: 2.031 kB / 0.9618 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.8659, allocations: 42.69 kB / 0.9619 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.8659, allocations: 2.344 kB / 0.9619 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.866, allocations: 26.83 kB / 0.9619 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.866, allocations: 5.5 kB / 0.9619 GB, free: 2.688 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 (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.0001229/0.8662, allocations: 132.8 kB / 0.962 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.124e-05/0.8662, allocations: 10.78 kB / 0.962 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.662e-05/0.8663, allocations: 28.22 kB / 0.9621 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.8663, allocations: 2.75 kB / 0.9621 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.8663, allocations: 3.984 kB / 0.9621 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.8663, allocations: 0 / 0.9621 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.8666, allocations: 262.8 kB / 0.9623 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.8666, allocations: 0 / 0.9623 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.8667, allocations: 29.78 kB / 0.9623 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.8667, allocations: 1.375 kB / 0.9623 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.8668, allocations: 5.312 kB / 0.9623 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.8668, allocations: 5.375 kB / 0.9624 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.8668, allocations: 0 / 0.9624 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004344/0.8672, allocations: 266.3 kB / 0.9626 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.014e-05/0.8673, allocations: 92.94 kB / 0.9627 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.8673, allocations: 5.25 kB / 0.9627 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.8674, allocations: 15.41 kB / 0.9627 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.078e-05/0.8675, allocations: 20.66 kB / 0.9627 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.8675, allocations: 2.625 kB / 0.9627 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.32e-05/0.8676, allocations: 124.4 kB / 0.9629 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8676, allocations: 0 / 0.9629 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003279/0.868, allocations: 43.53 kB / 0.9629 GB, free: 1.805 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 (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.0001596/0.8681, allocations: 113.2 kB / 0.963 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004573/0.8686, allocations: 147.3 kB / 0.9631 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.8686, allocations: 0 / 0.9631 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.8688, allocations: 81.2 kB / 0.9632 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.8692, allocations: 20.02 kB / 0.9632 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007348/0.8699, allocations: 430.2 kB / 0.9637 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/0.8701, allocations: 0.7246 MB / 0.9644 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.096e-05/0.8702, allocations: 30.48 kB / 0.9644 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of SimCode: time 3.91e-07/0.8702, allocations: 0 / 0.9644 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of Templates: time 0.005412/0.8756, allocations: 2.035 MB / 0.9664 GB, free: 15.48 MB / 0.7325 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/jenkins1/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