Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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_9_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_9_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.001898/0.001898, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002828/0.002828, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.475/1.475, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.531/2.531, allocations: 390.2 MB / 0.6642 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001364, allocations: 59.91 kB / 0.8119 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8894/0.8908, allocations: 140.4 MB / 0.949 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002606/0.8934, allocations: 1.163 MB / 0.9501 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.8946, allocations: 0.9996 MB / 0.9511 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.8947, allocations: 2.75 kB / 0.9511 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.359e-05/0.8948, allocations: 13.23 kB / 0.9511 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.8949, allocations: 13.19 kB / 0.9511 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.8951, allocations: 74.94 kB / 0.9512 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.8953, allocations: 202.6 kB / 0.9514 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.8956, allocations: 123.1 kB / 0.9515 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.8957, allocations: 81.7 kB / 0.9516 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.8958, allocations: 86.22 kB / 0.9517 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.92e-05/0.8959, allocations: 11.72 kB / 0.9517 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.009e-05/0.8959, allocations: 10.88 kB / 0.9517 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.943e-05/0.896, allocations: 37.97 kB / 0.9517 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.947e-05/0.896, allocations: 86 kB / 0.9518 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.8963, allocations: 267.8 kB / 0.9521 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.8963, allocations: 3.938 kB / 0.9521 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.432e-06/0.8963, allocations: 0 / 0.9521 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.8963, allocations: 0 / 0.9521 GB, free: 6.66 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.0007098/0.897, allocations: 499.3 kB / 0.9525 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.8971, allocations: 8.469 kB / 0.9525 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.562e-05/0.8972, allocations: 24.34 kB / 0.9526 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/0.8976, allocations: 276 kB / 0.9528 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.8976, allocations: 18.59 kB / 0.9529 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/0.8976, allocations: 16.22 kB / 0.9529 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003908/0.898, allocations: 191.7 kB / 0.953 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.898, allocations: 1.25 kB / 0.953 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.8981, allocations: 5.219 kB / 0.9531 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.8981, allocations: 5.156 kB / 0.9531 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003824/0.8985, allocations: 153.6 kB / 0.9532 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007294/0.8992, allocations: 0.5723 MB / 0.9538 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/0.8995, allocations: 123.9 kB / 0.9539 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.8997, allocations: 62.55 kB / 0.9539 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.8997, allocations: 6.969 kB / 0.9539 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.8997, allocations: 34.55 kB / 0.954 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.8998, allocations: 1.344 kB / 0.954 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0005718/0.9003, allocations: 204.9 kB / 0.9542 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.9004, allocations: 53.84 kB / 0.9542 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.9005, allocations: 180.4 kB / 0.9544 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.9006, allocations: 25.7 kB / 0.9544 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.56e-05/0.9006, allocations: 139.2 kB / 0.9546 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.9007, allocations: 48.95 kB / 0.9546 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.944e-05/0.9008, allocations: 47.44 kB / 0.9547 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.713e-05/0.9008, allocations: 325.9 kB / 0.955 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.901, allocations: 51.83 kB / 0.955 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.9012, allocations: 101.1 kB / 0.9551 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/0.9015, allocations: 137.5 kB / 0.9552 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9015, allocations: 0 / 0.9552 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003858/0.9019, allocations: 189 kB / 0.9554 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.9019, allocations: 8.719 kB / 0.9554 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.9019, allocations: 6.188 kB / 0.9554 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.9019, allocations: 2.406 kB / 0.9554 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.9021, allocations: 30.81 kB / 0.9555 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.9021, allocations: 10.33 kB / 0.9555 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.9023, allocations: 23.11 kB / 0.9555 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.9023, allocations: 9.906 kB / 0.9555 GB, free: 3.785 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 9.453e-05/0.9024, allocations: 138 kB / 0.9556 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.9024, allocations: 9.906 kB / 0.9556 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.644e-05/0.9025, allocations: 24.83 kB / 0.9557 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.9025, allocations: 2.469 kB / 0.9557 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.9025, allocations: 4 kB / 0.9557 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.9025, allocations: 0 / 0.9557 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002578/0.9027, allocations: 266.1 kB / 0.9559 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.9028, allocations: 0 / 0.9559 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.9029, allocations: 28.69 kB / 0.956 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.9029, allocations: 4 kB / 0.956 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.9029, allocations: 9.375 kB / 0.956 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.9029, allocations: 1.406 kB / 0.956 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.9029, allocations: 0 / 0.956 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000396/0.9033, allocations: 249.2 kB / 0.9562 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/0.9034, allocations: 93.83 kB / 0.9563 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.9034, allocations: 7.938 kB / 0.9563 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.9036, allocations: 13.86 kB / 0.9563 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.9037, allocations: 27.86 kB / 0.9563 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.9037, allocations: 4.281 kB / 0.9564 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001181/0.9038, allocations: 118.7 kB / 0.9565 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9038, allocations: 0 / 0.9565 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002944/0.9041, allocations: 41.19 kB / 0.9565 GB, free: 2.895 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.0001203/0.9042, allocations: 107.1 kB / 0.9566 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004002/0.9047, allocations: 136.4 kB / 0.9567 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.9047, allocations: 1.094 kB / 0.9567 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.9049, allocations: 68.72 kB / 0.9568 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.9053, allocations: 26.16 kB / 0.9568 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006753/0.9059, allocations: 393.4 kB / 0.9572 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.9061, allocations: 0.7291 MB / 0.9579 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001118/0.9063, allocations: 20.2 kB / 0.9579 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.334e-05/0.9063, allocations: 21.02 kB / 0.958 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.9063, allocations: 0 / 0.958 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of Templates: time 0.004386/0.9107, allocations: 1.296 MB / 0.9592 GB, free: 1.055 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches