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.001509/0.001509, allocations: 108 kB / 15.61 MB, free: 152 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.001593/0.001593, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.534/1.534, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.624/2.624, allocations: 390.2 MB / 0.6646 GB, free: 484 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.001511, allocations: 71.89 kB / 0.8126 GB, free: 14.43 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.988/0.9895, allocations: 140.3 MB / 0.9496 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002714/0.9923, allocations: 1.11 MB / 0.9507 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.9935, allocations: 1.013 MB / 0.9517 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.9936, allocations: 2.562 kB / 0.9517 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.953e-05/0.9937, allocations: 27.67 kB / 0.9517 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.9939, allocations: 26.14 kB / 0.9518 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.9941, allocations: 79.47 kB / 0.9518 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.9944, allocations: 212.8 kB / 0.952 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002786/0.9946, allocations: 125.2 kB / 0.9522 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.9949, allocations: 89.73 kB / 0.9522 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.995, allocations: 94.38 kB / 0.9523 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.598e-05/0.995, allocations: 31.12 kB / 0.9524 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.428e-05/0.9951, allocations: 22.03 kB / 0.9524 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.641e-05/0.9951, allocations: 50.31 kB / 0.9524 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.276e-05/0.9952, allocations: 98.16 kB / 0.9525 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.9955, allocations: 280.5 kB / 0.9528 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.9956, allocations: 0 / 0.9528 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9956, allocations: 1.25 kB / 0.9528 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.9956, allocations: 4 kB / 0.9528 GB, free: 6.707 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.0006996/0.9963, allocations: 490.3 kB / 0.9533 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.9963, allocations: 9.625 kB / 0.9533 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.687e-05/0.9964, allocations: 23.09 kB / 0.9533 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004379/0.9969, allocations: 275.9 kB / 0.9536 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.9969, allocations: 13.75 kB / 0.9536 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.9969, allocations: 24.75 kB / 0.9536 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003892/0.9973, allocations: 187.8 kB / 0.9538 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.9973, allocations: 0 / 0.9538 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.9974, allocations: 10.25 kB / 0.9538 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.9974, allocations: 9.391 kB / 0.9538 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003749/0.9978, allocations: 148.9 kB / 0.9539 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007052/0.9985, allocations: 0.5682 MB / 0.9545 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.9988, allocations: 132.3 kB / 0.9546 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.999, allocations: 59.77 kB / 0.9547 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.999, allocations: 5.406 kB / 0.9547 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.999, allocations: 31.94 kB / 0.9547 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.999, allocations: 4 kB / 0.9547 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0005738/0.9996, allocations: 200.9 kB / 0.9549 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.9996, allocations: 52.5 kB / 0.955 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.9998, allocations: 178 kB / 0.9551 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.9998, allocations: 25.7 kB / 0.9551 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.744e-05/0.9999, allocations: 151.7 kB / 0.9553 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.9999, allocations: 41.11 kB / 0.9553 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.299e-05/1, allocations: 50.8 kB / 0.9554 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.711e-05/1, allocations: 321.9 kB / 0.9557 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/1, allocations: 55.64 kB / 0.9557 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/1, allocations: 100.5 kB / 0.9558 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/1.001, allocations: 138.8 kB / 0.956 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.001, allocations: 0 / 0.956 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003863/1.001, allocations: 178.7 kB / 0.9561 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/1.001, allocations: 9.703 kB / 0.9561 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/1.001, allocations: 10.03 kB / 0.9562 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/1.001, allocations: 2.375 kB / 0.9562 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/1.001, allocations: 38.3 kB / 0.9562 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/1.001, allocations: 2.219 kB / 0.9562 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/1.001, allocations: 24.31 kB / 0.9562 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/1.002, allocations: 10.16 kB / 0.9562 GB, free: 3.84 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.881e-05/1.002, allocations: 138.1 kB / 0.9564 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/1.002, allocations: 14.25 kB / 0.9564 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.481e-05/1.002, allocations: 28.81 kB / 0.9564 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/1.002, allocations: 1.188 kB / 0.9564 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/1.002, allocations: 1.156 kB / 0.9564 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.002, allocations: 0 / 0.9564 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/1.002, allocations: 261.4 kB / 0.9567 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/1.002, allocations: 1.406 kB / 0.9567 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/1.002, allocations: 22.8 kB / 0.9567 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/1.002, allocations: 1.281 kB / 0.9567 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/1.002, allocations: 9.109 kB / 0.9567 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/1.002, allocations: 1.406 kB / 0.9567 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.002, allocations: 4 kB / 0.9567 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/1.003, allocations: 255.7 kB / 0.9569 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.772e-05/1.003, allocations: 92.02 kB / 0.957 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/1.003, allocations: 9.812 kB / 0.957 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/1.003, allocations: 9.828 kB / 0.957 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.39e-05/1.003, allocations: 27.56 kB / 0.9571 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/1.003, allocations: 3.812 kB / 0.9571 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.629e-05/1.003, allocations: 121.7 kB / 0.9572 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.003, allocations: 0 / 0.9572 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002643/1.003, allocations: 37.09 kB / 0.9572 GB, free: 2.953 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.000137/1.003, allocations: 116.5 kB / 0.9573 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003968/1.004, allocations: 144.6 kB / 0.9575 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.004, allocations: 0 / 0.9575 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001652/1.004, allocations: 73.39 kB / 0.9575 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/1.004, allocations: 19.91 kB / 0.9576 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006072/1.005, allocations: 332.4 kB / 0.9579 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/1.005, allocations: 0.7239 MB / 0.9586 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001017/1.005, allocations: 28.53 kB / 0.9586 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.329e-05/1.005, allocations: 22.38 kB / 0.9586 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/1.005, allocations: 0 / 0.9586 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of Templates: time 0.004749/1.01, allocations: 1.432 MB / 0.96 GB, free: 1.086 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