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.007723/0.007723, allocations: 104.2 kB / 15.74 MB, free: 6.059 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.001512/0.001512, allocations: 196.3 kB / 16.68 MB, free: 5.969 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.503/2.503, allocations: 390.2 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 63.91 kB / 0.9509 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078/1.079, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002623/1.082, allocations: 1.115 MB / 1.089 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001315/1.083, allocations: 1.006 MB / 1.09 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/1.083, allocations: 2.812 kB / 1.09 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.483e-05/1.083, allocations: 20.25 kB / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001347/1.084, allocations: 37.48 kB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/1.084, allocations: 73.66 kB / 1.09 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002734/1.084, allocations: 221.6 kB / 1.09 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/1.084, allocations: 117.9 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/1.085, allocations: 100.8 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/1.085, allocations: 91.03 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.229e-05/1.085, allocations: 22.94 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.845e-05/1.085, allocations: 23.56 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.475e-05/1.085, allocations: 53.36 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.761e-05/1.085, allocations: 95.19 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000389/1.085, allocations: 288.6 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.085, allocations: 4 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.304e-06/1.085, allocations: 1.406 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.293e-05/1.085, allocations: 0 / 1.091 GB, free: 3.402 MB / 0.8575 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.0007373/1.086, allocations: 488.2 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/1.086, allocations: 10 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.85e-05/1.086, allocations: 23.55 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004928/1.087, allocations: 274.9 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.741e-05/1.087, allocations: 17.06 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.151e-05/1.087, allocations: 17.12 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004541/1.087, allocations: 195.6 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/1.087, allocations: 0 / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/1.087, allocations: 6.297 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/1.087, allocations: 4.594 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004712/1.088, allocations: 151.2 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008688/1.089, allocations: 0.5649 MB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003585/1.089, allocations: 127.4 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/1.089, allocations: 60.31 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/1.089, allocations: 5.625 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/1.089, allocations: 36.98 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.283e-06/1.089, allocations: 0 / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0006608/1.09, allocations: 204.3 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/1.09, allocations: 53.25 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/1.09, allocations: 190.4 kB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/1.09, allocations: 30.39 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.389e-05/1.09, allocations: 132.5 kB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/1.09, allocations: 52.42 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.164e-05/1.09, allocations: 45.86 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.032e-05/1.091, allocations: 326.8 kB / 1.094 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/1.091, allocations: 49.52 kB / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/1.091, allocations: 96.36 kB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003342/1.091, allocations: 134.6 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.091, allocations: 0.625 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004671/1.092, allocations: 191.1 kB / 1.094 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/1.092, allocations: 6.969 kB / 1.094 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.092, allocations: 9.719 kB / 1.094 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/1.092, allocations: 2.219 kB / 1.094 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/1.092, allocations: 33.28 kB / 1.095 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/1.092, allocations: 7.109 kB / 1.095 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/1.092, allocations: 22.56 kB / 1.095 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/1.092, allocations: 7.469 kB / 1.095 GB, free: 0.8984 MB / 0.8575 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.0001199/1.092, allocations: 149.9 kB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/1.092, allocations: 14.28 kB / 1.095 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.705e-05/1.092, allocations: 23.25 kB / 1.095 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/1.092, allocations: 1.344 kB / 1.095 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/1.092, allocations: 1.109 kB / 1.095 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/1.092, allocations: 1.172 kB / 1.095 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/1.093, allocations: 256.2 kB / 1.095 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/1.093, allocations: 0 / 1.095 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/1.093, allocations: 26.14 kB / 1.095 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/1.093, allocations: 0.8438 kB / 1.095 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/1.093, allocations: 13.42 kB / 1.095 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/1.093, allocations: 4.75 kB / 1.095 GB, free: 500 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.093, allocations: 1.531 kB / 1.095 GB, free: 500 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004242/1.093, allocations: 246.6 kB / 1.095 GB, free: 328 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.663e-05/1.093, allocations: 94.22 kB / 1.095 GB, free: 220 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/1.093, allocations: 5.062 kB / 1.095 GB, free: 216 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/1.094, allocations: 16.2 kB / 1.095 GB, free: 208 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/1.094, allocations: 19.08 kB / 1.095 GB, free: 204 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/1.094, allocations: 8.109 kB / 1.095 GB, free: 200 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.987e-05/1.094, allocations: 122 kB / 1.096 GB, free: 108 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.094, allocations: 0 / 1.096 GB, free: 108 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002812/1.094, allocations: 35.88 kB / 1.096 GB, free: 96 kB / 0.8575 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.0001612/1.094, allocations: 113.2 kB / 1.096 GB, free: 16 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004903/1.095, allocations: 137.3 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.095, allocations: 0 / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000211/1.095, allocations: 71.56 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/1.095, allocations: 25.67 kB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007683/1.096, allocations: 330.2 kB / 1.096 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/1.097, allocations: 0.7298 MB / 1.097 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001088/1.097, allocations: 25.19 kB / 1.097 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.727e-05/1.097, allocations: 23.73 kB / 1.097 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/1.097, allocations: 1.062 kB / 1.097 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of Templates: time 0.005697/1.102, allocations: 1.442 MB / 1.098 GB, free: 14.88 MB / 0.8731 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