Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001663/0.001663, allocations: 110.8 kB / 15.99 MB, free: 6.367 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.001614/0.001614, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.404/1.404, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.64/2.64, allocations: 469.8 MB / 0.7427 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 63.98 kB / 0.9088 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3373, allocations: 159.1 MB / 1.064 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002651/0.34, allocations: 1.19 MB / 1.065 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.3414, allocations: 1.006 MB / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.628e-05/0.3415, allocations: 8 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.881e-05/0.3416, allocations: 11.86 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.3418, allocations: 19.78 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/0.342, allocations: 67.95 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002514/0.3423, allocations: 228.1 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002683/0.3425, allocations: 132.1 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.3427, allocations: 95.62 kB / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.3429, allocations: 95.55 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.424e-05/0.3429, allocations: 24 kB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 3.599e-05/0.343, allocations: 27.94 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.439e-05/0.343, allocations: 51.84 kB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.543e-05/0.3431, allocations: 103.5 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.3434, allocations: 239.7 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3434, allocations: 0 / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.492e-06/0.3434, allocations: 4 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.3434, allocations: 0 / 1.067 GB, free: 11.76 MB / 0.8419 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.0007799/0.3442, allocations: 0.4912 MB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.3443, allocations: 12.03 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.138e-05/0.3443, allocations: 24.66 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004979/0.3448, allocations: 282.3 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.3449, allocations: 20.81 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/0.3449, allocations: 16.38 kB / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004292/0.3453, allocations: 199.8 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3454, allocations: 192 / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.3454, allocations: 7.938 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.3454, allocations: 8 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004809/0.3459, allocations: 157.7 kB / 1.069 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009707/0.3469, allocations: 0.5917 MB / 1.069 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003847/0.3473, allocations: 162.5 kB / 1.069 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.3475, allocations: 72.75 kB / 1.069 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.3475, allocations: 0 / 1.069 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.3475, allocations: 42.56 kB / 1.069 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=17): time 1.222e-06/0.3475, allocations: 0 / 1.069 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17): time 0.0006176/0.3482, allocations: 215.7 kB / 1.07 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.3482, allocations: 55.41 kB / 1.07 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.3484, allocations: 179.4 kB / 1.07 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.3485, allocations: 37.7 kB / 1.07 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.3486, allocations: 136.2 kB / 1.07 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.891e-05/0.3486, allocations: 47.39 kB / 1.07 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.534e-05/0.3487, allocations: 53.69 kB / 1.07 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3489, allocations: 322.8 kB / 1.07 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.3491, allocations: 55.95 kB / 1.07 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.3493, allocations: 97.11 kB / 1.071 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003395/0.3496, allocations: 160.8 kB / 1.071 GB, free: 8.105 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3496, allocations: 0 / 1.071 GB, free: 8.105 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004214/0.3501, allocations: 187.6 kB / 1.071 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.3501, allocations: 8.156 kB / 1.071 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3501, allocations: 4 kB / 1.071 GB, free: 7.906 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.3501, allocations: 7.984 kB / 1.071 GB, free: 7.898 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.3503, allocations: 35.98 kB / 1.071 GB, free: 7.863 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.3503, allocations: 3.938 kB / 1.071 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.3505, allocations: 19.83 kB / 1.071 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.3505, allocations: 12 kB / 1.071 GB, free: 7.828 MB / 0.8419 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.0001879/0.3507, allocations: 135.7 kB / 1.071 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.178e-05/0.3507, allocations: 27.73 kB / 1.071 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.961e-05/0.3508, allocations: 13.88 kB / 1.071 GB, free: 7.648 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3508, allocations: 4 kB / 1.071 GB, free: 7.645 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.3508, allocations: 0 / 1.071 GB, free: 7.645 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3508, allocations: 3.938 kB / 1.071 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003437/0.3512, allocations: 277.4 kB / 1.071 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3512, allocations: 0 / 1.071 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.3513, allocations: 23.97 kB / 1.071 GB, free: 7.297 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.3513, allocations: 0 / 1.071 GB, free: 7.297 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.3514, allocations: 8 kB / 1.071 GB, free: 7.289 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3514, allocations: 0 / 1.071 GB, free: 7.289 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3514, allocations: 0 / 1.071 GB, free: 7.289 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004393/0.3518, allocations: 263.2 kB / 1.072 GB, free: 7.016 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.157e-05/0.3519, allocations: 92.86 kB / 1.072 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/0.3519, allocations: 4 kB / 1.072 GB, free: 6.902 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.352, allocations: 23.92 kB / 1.072 GB, free: 6.879 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.387e-05/0.3521, allocations: 19.97 kB / 1.072 GB, free: 6.859 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.3522, allocations: 4 kB / 1.072 GB, free: 6.855 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001073/0.3523, allocations: 121.2 kB / 1.072 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3523, allocations: 0 / 1.072 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002802/0.3526, allocations: 47.75 kB / 1.072 GB, free: 6.691 MB / 0.8419 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.0001736/0.3527, allocations: 107.2 kB / 1.072 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004417/0.3532, allocations: 161.8 kB / 1.072 GB, free: 6.418 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3532, allocations: 0 / 1.072 GB, free: 6.418 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001827/0.3534, allocations: 75.89 kB / 1.072 GB, free: 6.344 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.3537, allocations: 32.17 kB / 1.072 GB, free: 6.312 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008083/0.3545, allocations: 440.7 kB / 1.073 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.355, allocations: 0.7358 MB / 1.073 GB, free: 5.09 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.606e-05/0.355, allocations: 23.44 kB / 1.074 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of SimCode: time 3.5e-07/0.355, allocations: 0 / 1.074 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of Templates: time 0.004483/0.3595, allocations: 2.161 MB / 1.076 GB, free: 2.914 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches