Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.001923/0.001923, allocations: 115.5 kB / 17.08 MB, free: 5.988 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.001975/0.001975, allocations: 194.2 kB / 20.03 MB, free: 3.059 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.505/1.505, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.102/3.102, allocations: 489.3 MB / 0.7687 GB, free: 3.98 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.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_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 63.91 kB / 1.103 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.018, allocations: 163.8 MB / 1.263 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002533/1.021, allocations: 1.128 MB / 1.264 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001378/1.022, allocations: 1.016 MB / 1.265 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/1.022, allocations: 7.594 kB / 1.265 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 7.636e-05/1.023, allocations: 21.64 kB / 1.265 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000142/1.023, allocations: 32.44 kB / 1.265 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/1.023, allocations: 84.73 kB / 1.265 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004148/1.023, allocations: 223 kB / 1.265 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004177/1.024, allocations: 127.9 kB / 1.265 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003152/1.024, allocations: 102.4 kB / 1.265 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000227/1.024, allocations: 96.69 kB / 1.265 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.607e-05/1.025, allocations: 24.44 kB / 1.265 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.499e-05/1.025, allocations: 24.5 kB / 1.265 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.526e-05/1.025, allocations: 50.23 kB / 1.265 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001711/1.025, allocations: 107.8 kB / 1.266 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006218/1.025, allocations: 303.4 kB / 1.266 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.025, allocations: 0 / 1.266 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.814e-06/1.025, allocations: 0.875 kB / 1.266 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.126e-06/1.026, allocations: 4 kB / 1.266 GB, free: 6.078 MB / 0.9981 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.000906/1.026, allocations: 0.498 MB / 1.266 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.301e-05/1.026, allocations: 13.98 kB / 1.266 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.526e-05/1.027, allocations: 23.92 kB / 1.266 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006643/1.027, allocations: 287.5 kB / 1.267 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.61e-05/1.027, allocations: 14.09 kB / 1.267 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.383e-05/1.027, allocations: 25.81 kB / 1.267 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005469/1.028, allocations: 195.3 kB / 1.267 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/1.028, allocations: 192 / 1.267 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.381e-05/1.028, allocations: 13.75 kB / 1.267 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/1.028, allocations: 5.5 kB / 1.267 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004652/1.028, allocations: 159.8 kB / 1.267 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009765/1.029, allocations: 0.5897 MB / 1.268 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004078/1.03, allocations: 156.8 kB / 1.268 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/1.03, allocations: 75.88 kB / 1.268 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/1.03, allocations: 13.72 kB / 1.268 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/1.03, allocations: 32.62 kB / 1.268 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=17): time 1.293e-06/1.03, allocations: 0 / 1.268 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17): time 0.0007216/1.031, allocations: 211.9 kB / 1.268 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/1.031, allocations: 60.84 kB / 1.268 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/1.031, allocations: 186.8 kB / 1.268 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/1.031, allocations: 26.52 kB / 1.268 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.023e-05/1.031, allocations: 141.4 kB / 1.268 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/1.031, allocations: 40.86 kB / 1.269 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.137e-05/1.031, allocations: 56.5 kB / 1.269 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.538e-05/1.031, allocations: 327.6 kB / 1.269 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/1.032, allocations: 56.67 kB / 1.269 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/1.032, allocations: 107.6 kB / 1.269 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003479/1.032, allocations: 144.3 kB / 1.269 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/1.032, allocations: 0.5938 kB / 1.269 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004635/1.033, allocations: 198.2 kB / 1.269 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/1.033, allocations: 6.656 kB / 1.269 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/1.033, allocations: 1.703 kB / 1.269 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/1.033, allocations: 2.688 kB / 1.269 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/1.033, allocations: 33.52 kB / 1.269 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/1.033, allocations: 2.75 kB / 1.269 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/1.033, allocations: 22.92 kB / 1.269 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/1.033, allocations: 6.875 kB / 1.269 GB, free: 3.492 MB / 0.9981 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.0001741/1.033, allocations: 146.9 kB / 1.27 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/1.033, allocations: 19 kB / 1.27 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.572e-05/1.033, allocations: 27.22 kB / 1.27 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/1.033, allocations: 1.844 kB / 1.27 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/1.033, allocations: 0.6094 kB / 1.27 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/1.033, allocations: 1.516 kB / 1.27 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/1.034, allocations: 282.1 kB / 1.27 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.034, allocations: 0 / 1.27 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/1.034, allocations: 30.08 kB / 1.27 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/1.034, allocations: 1.125 kB / 1.27 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/1.034, allocations: 0.9062 kB / 1.27 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/1.034, allocations: 2.172 kB / 1.27 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.034, allocations: 0 / 1.27 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004263/1.034, allocations: 266.8 kB / 1.27 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.22e-05/1.034, allocations: 93.53 kB / 1.27 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/1.034, allocations: 6.297 kB / 1.27 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/1.035, allocations: 11.45 kB / 1.27 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.953e-05/1.035, allocations: 24 kB / 1.27 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/1.035, allocations: 3.781 kB / 1.27 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.112e-05/1.035, allocations: 119 kB / 1.27 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.91e-07/1.035, allocations: 0 / 1.27 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002944/1.035, allocations: 42.36 kB / 1.27 GB, free: 2.664 MB / 0.9981 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.0001379/1.035, allocations: 116.9 kB / 1.271 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004661/1.036, allocations: 146.5 kB / 1.271 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/1.036, allocations: 0 / 1.271 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002011/1.036, allocations: 80.3 kB / 1.271 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/1.036, allocations: 27.75 kB / 1.271 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006581/1.037, allocations: 375 kB / 1.271 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/1.037, allocations: 0.733 MB / 1.272 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.339e-05/1.037, allocations: 25.19 kB / 1.272 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/1.037, allocations: 0 / 1.272 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of Templates: time 0.005066/1.042, allocations: 2.187 MB / 1.274 GB, free: 1.27 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.804514724994078]