Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002113/0.002113, allocations: 191.6 kB / 22.11 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.398/3.398, allocations: 495.8 MB / 0.783 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_12_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=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 73.22 kB / 1.137 GB, free: 33.9 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.4247, allocations: 173.6 MB / 1.307 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002856/0.4276, allocations: 1.152 MB / 1.308 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001446/0.429, allocations: 1.026 MB / 1.309 GB, free: 15.69 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.4292, allocations: 4 kB / 1.309 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 7.297e-05/0.4292, allocations: 23.67 kB / 1.309 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.4294, allocations: 35.72 kB / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.4297, allocations: 83.86 kB / 1.309 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002668/0.4299, allocations: 228.2 kB / 1.309 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002549/0.4302, allocations: 96.59 kB / 1.309 GB, free: 15.22 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.4304, allocations: 95.62 kB / 1.309 GB, free: 15.13 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.4305, allocations: 99.48 kB / 1.31 GB, free: 15.03 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.284e-05/0.4306, allocations: 24 kB / 1.31 GB, free: 15.01 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.55e-05/0.4306, allocations: 24 kB / 1.31 GB, free: 14.98 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.138e-05/0.4307, allocations: 55.84 kB / 1.31 GB, free: 14.93 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.4308, allocations: 111.4 kB / 1.31 GB, free: 14.82 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004045/0.4312, allocations: 302.6 kB / 1.31 GB, free: 14.52 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4312, allocations: 3.938 kB / 1.31 GB, free: 14.52 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4312, allocations: 0 / 1.31 GB, free: 14.52 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.4312, allocations: 0 / 1.31 GB, free: 14.52 MB / 1.014 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.0007811/0.432, allocations: 433.7 kB / 1.31 GB, free: 14.06 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.432, allocations: 8.031 kB / 1.31 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.212e-05/0.4321, allocations: 24.8 kB / 1.31 GB, free: 14.03 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005082/0.4326, allocations: 218.5 kB / 1.311 GB, free: 13.79 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/0.4326, allocations: 16.81 kB / 1.311 GB, free: 13.77 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.293e-05/0.4326, allocations: 16.38 kB / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004331/0.4331, allocations: 203.8 kB / 1.311 GB, free: 13.55 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.4331, allocations: 192 / 1.311 GB, free: 13.55 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.4331, allocations: 7.938 kB / 1.311 GB, free: 13.55 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.4331, allocations: 15.94 kB / 1.311 GB, free: 13.53 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000454/0.4336, allocations: 157.6 kB / 1.311 GB, free: 13.38 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008932/0.4345, allocations: 0.5532 MB / 1.312 GB, free: 12.78 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000406/0.4349, allocations: 150.6 kB / 1.312 GB, free: 12.62 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.4351, allocations: 68.81 kB / 1.312 GB, free: 12.55 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.4351, allocations: 0 / 1.312 GB, free: 12.55 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.4351, allocations: 30.56 kB / 1.312 GB, free: 12.52 MB / 1.014 GB Notification: Performance of pre-optimization done (n=17): time 1.052e-06/0.4351, allocations: 3.938 kB / 1.312 GB, free: 12.51 MB / 1.014 GB Notification: Performance of matching and sorting (n=17): time 0.0006754/0.4358, allocations: 220.5 kB / 1.312 GB, free: 12.29 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.4358, allocations: 63.34 kB / 1.312 GB, free: 12.22 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.436, allocations: 178.2 kB / 1.312 GB, free: 12.04 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.4361, allocations: 25.7 kB / 1.312 GB, free: 12 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.4362, allocations: 148.4 kB / 1.312 GB, free: 11.86 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.93e-05/0.4362, allocations: 47.7 kB / 1.313 GB, free: 11.81 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.385e-05/0.4363, allocations: 49.7 kB / 1.313 GB, free: 11.75 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.4365, allocations: 330.8 kB / 1.313 GB, free: 11.42 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.4367, allocations: 55.97 kB / 1.313 GB, free: 11.37 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.4369, allocations: 98.22 kB / 1.313 GB, free: 11.25 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003864/0.4373, allocations: 141 kB / 1.313 GB, free: 11.1 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4373, allocations: 0 / 1.313 GB, free: 11.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004821/0.4378, allocations: 203.4 kB / 1.313 GB, free: 10.89 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.4378, allocations: 4 kB / 1.313 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4378, allocations: 4 kB / 1.313 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.4379, allocations: 0 / 1.313 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.4381, allocations: 35.91 kB / 1.313 GB, free: 10.85 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.4381, allocations: 8.156 kB / 1.313 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.4382, allocations: 27.83 kB / 1.313 GB, free: 10.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.4382, allocations: 4 kB / 1.313 GB, free: 10.81 MB / 1.014 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.0002298/0.4384, allocations: 147.5 kB / 1.314 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.362e-05/0.4385, allocations: 15.84 kB / 1.314 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.711e-05/0.4386, allocations: 25.8 kB / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.4386, allocations: 4 kB / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.4386, allocations: 4 kB / 1.314 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4386, allocations: 0 / 1.314 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003602/0.4389, allocations: 244.5 kB / 1.314 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4389, allocations: 0 / 1.314 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.4391, allocations: 31.91 kB / 1.314 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4391, allocations: 0 / 1.314 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.4391, allocations: 4 kB / 1.314 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.4391, allocations: 0 / 1.314 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4391, allocations: 0 / 1.314 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005153/0.4396, allocations: 265.6 kB / 1.314 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.672e-05/0.4397, allocations: 19.83 kB / 1.314 GB, free: 10 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.4397, allocations: 4 kB / 1.314 GB, free: 10 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.4398, allocations: 11.98 kB / 1.314 GB, free: 9.988 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.898e-05/0.4399, allocations: 23.95 kB / 1.314 GB, free: 9.965 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.4399, allocations: 4 kB / 1.314 GB, free: 9.961 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001163/0.44, allocations: 124.2 kB / 1.314 GB, free: 9.84 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.44, allocations: 3.938 kB / 1.314 GB, free: 9.836 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00028/0.4403, allocations: 43.78 kB / 1.314 GB, free: 9.793 MB / 1.014 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.0001776/0.4405, allocations: 116.3 kB / 1.314 GB, free: 9.672 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004928/0.441, allocations: 152.1 kB / 1.315 GB, free: 9.523 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.441, allocations: 0 / 1.315 GB, free: 9.523 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002074/0.4412, allocations: 67.89 kB / 1.315 GB, free: 9.457 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.4415, allocations: 19.94 kB / 1.315 GB, free: 9.438 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007494/0.4422, allocations: 351.5 kB / 1.315 GB, free: 9.07 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.4426, allocations: 0.7359 MB / 1.316 GB, free: 8.309 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001087/0.4428, allocations: 21.48 kB / 1.316 GB, free: 8.285 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.212e-05/0.4428, allocations: 23.42 kB / 1.316 GB, free: 8.262 MB / 1.014 GB Notification: Performance of SimCode: time 6.71e-07/0.4428, allocations: 0 / 1.316 GB, free: 8.262 MB / 1.014 GB Notification: Performance of Templates: time 0.005366/0.4482, allocations: 1.561 MB / 1.317 GB, free: 6.75 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.71369456872344]