Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 113.3 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 204 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.532/1.532, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.988/2.988, allocations: 0.49 GB / 0.7923 GB, free: 1.297 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 59.91 kB / 1.15 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064/1.066, allocations: 176.1 MB / 1.322 GB, free: 25.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.00235/1.069, allocations: 1.142 MB / 1.323 GB, free: 24.27 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001183/1.07, allocations: 1.063 MB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.411e-05/1.07, allocations: 2.281 kB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.332e-05/1.07, allocations: 27 kB / 1.324 GB, free: 23.44 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001308/1.07, allocations: 31.83 kB / 1.324 GB, free: 23.41 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/1.07, allocations: 80.77 kB / 1.324 GB, free: 23.37 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002109/1.071, allocations: 233.8 kB / 1.324 GB, free: 23.24 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002137/1.071, allocations: 99.09 kB / 1.325 GB, free: 23.19 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002167/1.071, allocations: 103.9 kB / 1.325 GB, free: 23.13 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/1.071, allocations: 103.2 kB / 1.325 GB, free: 23.07 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.655e-05/1.071, allocations: 23.78 kB / 1.325 GB, free: 23.07 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.981e-05/1.071, allocations: 29.14 kB / 1.325 GB, free: 23.07 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.259e-05/1.071, allocations: 52.12 kB / 1.325 GB, free: 23.03 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.275e-05/1.071, allocations: 101 kB / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003138/1.072, allocations: 314.8 kB / 1.325 GB, free: 22.84 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/1.072, allocations: 0 / 1.325 GB, free: 22.84 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.763e-06/1.072, allocations: 4 kB / 1.325 GB, free: 22.84 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.215e-06/1.072, allocations: 0 / 1.325 GB, free: 22.84 MB / 1.061 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.0006655/1.072, allocations: 0.5 MB / 1.326 GB, free: 22.38 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/1.072, allocations: 12.17 kB / 1.326 GB, free: 22.37 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/1.073, allocations: 35.56 kB / 1.326 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004069/1.073, allocations: 285.4 kB / 1.326 GB, free: 22.11 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/1.073, allocations: 17.66 kB / 1.326 GB, free: 22.1 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/1.073, allocations: 21 kB / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/1.073, allocations: 196.8 kB / 1.326 GB, free: 22.01 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/1.073, allocations: 192 / 1.326 GB, free: 22.01 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/1.073, allocations: 14.66 kB / 1.326 GB, free: 22 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/1.074, allocations: 5.344 kB / 1.326 GB, free: 22 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000378/1.074, allocations: 164.6 kB / 1.326 GB, free: 21.94 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006885/1.075, allocations: 0.583 MB / 1.327 GB, free: 21.52 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/1.075, allocations: 145.4 kB / 1.327 GB, free: 21.46 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/1.075, allocations: 60.8 kB / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/1.075, allocations: 9.328 kB / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/1.075, allocations: 39.69 kB / 1.327 GB, free: 21.38 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 1.403e-06/1.075, allocations: 0 / 1.327 GB, free: 21.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.0006759/1.076, allocations: 217.2 kB / 1.328 GB, free: 21.29 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/1.076, allocations: 53.47 kB / 1.328 GB, free: 21.23 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/1.076, allocations: 180.1 kB / 1.328 GB, free: 21.1 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/1.076, allocations: 30.86 kB / 1.328 GB, free: 21.06 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.796e-05/1.076, allocations: 141.6 kB / 1.328 GB, free: 20.94 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.056e-05/1.076, allocations: 49.39 kB / 1.328 GB, free: 20.9 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.278e-05/1.076, allocations: 52.94 kB / 1.328 GB, free: 20.87 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.849e-05/1.076, allocations: 322 kB / 1.328 GB, free: 20.55 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/1.077, allocations: 60.06 kB / 1.328 GB, free: 20.53 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/1.077, allocations: 102.5 kB / 1.328 GB, free: 20.46 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000348/1.077, allocations: 144.7 kB / 1.329 GB, free: 20.38 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/1.077, allocations: 4.469 kB / 1.329 GB, free: 20.37 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004616/1.078, allocations: 195.8 kB / 1.329 GB, free: 20.29 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/1.078, allocations: 6.438 kB / 1.329 GB, free: 20.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/1.078, allocations: 1 kB / 1.329 GB, free: 20.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/1.078, allocations: 5.875 kB / 1.329 GB, free: 20.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/1.078, allocations: 41.58 kB / 1.329 GB, free: 20.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/1.078, allocations: 3 kB / 1.329 GB, free: 20.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/1.078, allocations: 14.92 kB / 1.329 GB, free: 20.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/1.078, allocations: 14.12 kB / 1.329 GB, free: 20.26 MB / 1.061 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.0001723/1.078, allocations: 142.7 kB / 1.329 GB, free: 20.12 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.23e-05/1.078, allocations: 19.03 kB / 1.329 GB, free: 20.11 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.574e-05/1.078, allocations: 20.09 kB / 1.329 GB, free: 20.1 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/1.078, allocations: 6.422 kB / 1.329 GB, free: 20.09 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/1.078, allocations: 0 / 1.329 GB, free: 20.09 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/1.078, allocations: 0.9062 kB / 1.329 GB, free: 20.09 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/1.078, allocations: 276.2 kB / 1.329 GB, free: 19.85 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/1.078, allocations: 4 kB / 1.329 GB, free: 19.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/1.079, allocations: 26.66 kB / 1.329 GB, free: 19.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/1.079, allocations: 0.9375 kB / 1.329 GB, free: 19.84 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/1.079, allocations: 8.359 kB / 1.329 GB, free: 19.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/1.079, allocations: 0.7188 kB / 1.329 GB, free: 19.84 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.079, allocations: 0.5 kB / 1.329 GB, free: 19.84 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004451/1.079, allocations: 267 kB / 1.33 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.393e-05/1.079, allocations: 93.98 kB / 1.33 GB, free: 19.55 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/1.079, allocations: 4.406 kB / 1.33 GB, free: 19.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/1.079, allocations: 9.594 kB / 1.33 GB, free: 19.55 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.428e-05/1.079, allocations: 18.81 kB / 1.33 GB, free: 19.54 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/1.079, allocations: 6.766 kB / 1.33 GB, free: 19.54 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.503e-05/1.079, allocations: 121.5 kB / 1.33 GB, free: 19.45 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.079, allocations: 0 / 1.33 GB, free: 19.45 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002973/1.08, allocations: 45.55 kB / 1.33 GB, free: 19.43 MB / 1.061 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.0001456/1.08, allocations: 111.8 kB / 1.33 GB, free: 19.34 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004658/1.08, allocations: 143.7 kB / 1.33 GB, free: 19.3 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.08, allocations: 320 / 1.33 GB, free: 19.3 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002045/1.081, allocations: 71.56 kB / 1.33 GB, free: 19.28 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/1.081, allocations: 20.75 kB / 1.33 GB, free: 19.27 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007181/1.082, allocations: 381.3 kB / 1.331 GB, free: 19 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001969/1.082, allocations: 0.7373 MB / 1.331 GB, free: 18.3 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.377e-05/1.082, allocations: 21.72 kB / 1.331 GB, free: 18.29 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/1.082, allocations: 0 / 1.331 GB, free: 18.29 MB / 1.061 GB Notification: Performance of Templates: time 0.005284/1.087, allocations: 2.203 MB / 1.333 GB, free: 18.04 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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: 11.742284858002677]