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.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.00144/0.00144, allocations: 104.3 kB / 16.45 MB, free: 6.453 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.001512/0.001512, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.634/1.634, allocations: 230.6 MB / 252.8 MB, free: 8.957 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 3.63/3.63, allocations: 0.4899 GB / 0.7915 GB, free: 33.36 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.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: 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.003416/0.003416, allocations: 67.52 kB / 1.149 GB, free: 26.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4849/0.4883, allocations: 176.1 MB / 1.321 GB, free: 2.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.00278/0.4911, allocations: 1.143 MB / 1.322 GB, free: 1.719 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.4925, allocations: 1.065 MB / 1.323 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.4926, allocations: 4 kB / 1.323 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 7.045e-05/0.4927, allocations: 27.67 kB / 1.323 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.4928, allocations: 31.73 kB / 1.324 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.4932, allocations: 91.78 kB / 1.324 GB, free: 500 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002721/0.4934, allocations: 224.2 kB / 1.324 GB, free: 272 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002363/0.4937, allocations: 96.12 kB / 1.324 GB, free: 176 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002177/0.4939, allocations: 99.58 kB / 1.324 GB, free: 76 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.494, allocations: 107.5 kB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.869e-05/0.4941, allocations: 24 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.324e-05/0.4941, allocations: 28 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.587e-05/0.4942, allocations: 51.84 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.4943, allocations: 99.47 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004616/0.4948, allocations: 314.6 kB / 1.325 GB, free: 15.46 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.4948, allocations: 3.984 kB / 1.325 GB, free: 15.46 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4948, allocations: 0 / 1.325 GB, free: 15.46 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.4948, allocations: 0 / 1.325 GB, free: 15.46 MB / 1.029 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.0009089/0.4957, allocations: 0.4988 MB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.4958, allocations: 11.98 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/0.4959, allocations: 36.78 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005178/0.4965, allocations: 280.3 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.724e-05/0.4965, allocations: 20.81 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.4965, allocations: 20.38 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004284/0.497, allocations: 195.8 kB / 1.326 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.497, allocations: 192 / 1.326 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.524e-05/0.497, allocations: 15.94 kB / 1.326 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.497, allocations: 8 kB / 1.326 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004227/0.4975, allocations: 153.7 kB / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009235/0.4984, allocations: 0.5879 MB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003851/0.4988, allocations: 146.7 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.4989, allocations: 60.81 kB / 1.327 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.499, allocations: 8.062 kB / 1.327 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.499, allocations: 34.56 kB / 1.327 GB, free: 13.23 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.499, allocations: 3.938 kB / 1.327 GB, free: 13.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.0006569/0.4997, allocations: 227.1 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.4997, allocations: 51.41 kB / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.4999, allocations: 182.2 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.4999, allocations: 29.7 kB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.5, allocations: 136.4 kB / 1.327 GB, free: 12.58 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.847e-05/0.5001, allocations: 51.58 kB / 1.327 GB, free: 12.53 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.82e-05/0.5001, allocations: 53.69 kB / 1.327 GB, free: 12.47 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.5003, allocations: 326.8 kB / 1.328 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.5005, allocations: 55.95 kB / 1.328 GB, free: 12.09 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.5007, allocations: 103.3 kB / 1.328 GB, free: 11.97 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000356/0.501, allocations: 147.3 kB / 1.328 GB, free: 11.81 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.501, allocations: 0 / 1.328 GB, free: 11.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004481/0.5015, allocations: 197.2 kB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.5015, allocations: 7.938 kB / 1.328 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.5015, allocations: 4 kB / 1.328 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.5015, allocations: 3.984 kB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.5017, allocations: 36.08 kB / 1.328 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.5017, allocations: 4 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.5018, allocations: 23.88 kB / 1.328 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.5019, allocations: 4 kB / 1.328 GB, free: 11.53 MB / 1.029 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.0002075/0.5021, allocations: 137.8 kB / 1.328 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.5021, allocations: 23.83 kB / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.57e-05/0.5022, allocations: 21.88 kB / 1.328 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.5022, allocations: 0 / 1.328 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.5022, allocations: 0 / 1.328 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.5022, allocations: 8 kB / 1.328 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003281/0.5025, allocations: 281.4 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.5025, allocations: 0 / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.5026, allocations: 23.97 kB / 1.329 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-06/0.5027, allocations: 0 / 1.329 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.5027, allocations: 4 kB / 1.329 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.5027, allocations: 0 / 1.329 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5027, allocations: 4 kB / 1.329 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004557/0.5031, allocations: 265.3 kB / 1.329 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.925e-05/0.5032, allocations: 96.95 kB / 1.329 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.5032, allocations: 0 / 1.329 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.5033, allocations: 11.98 kB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.613e-05/0.5034, allocations: 19.97 kB / 1.329 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.5034, allocations: 12 kB / 1.329 GB, free: 10.54 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001044/0.5035, allocations: 124.2 kB / 1.329 GB, free: 10.42 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.5035, allocations: 0 / 1.329 GB, free: 10.42 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002697/0.5038, allocations: 35.89 kB / 1.329 GB, free: 10.38 MB / 1.029 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.0001563/0.504, allocations: 111.2 kB / 1.329 GB, free: 10.26 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004448/0.5044, allocations: 147.7 kB / 1.329 GB, free: 10.12 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5044, allocations: 0 / 1.329 GB, free: 10.12 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001874/0.5046, allocations: 71.89 kB / 1.33 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.5049, allocations: 29.47 kB / 1.33 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007462/0.5057, allocations: 352.9 kB / 1.33 GB, free: 9.656 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/0.5061, allocations: 0.7319 MB / 1.331 GB, free: 8.898 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.215e-05/0.5062, allocations: 25.48 kB / 1.331 GB, free: 8.875 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.995e-05/0.5062, allocations: 19.44 kB / 1.331 GB, free: 8.855 MB / 1.029 GB Notification: Performance of SimCode: time 3.9e-07/0.5062, allocations: 4 kB / 1.331 GB, free: 8.852 MB / 1.029 GB Notification: Performance of Templates: time 0.005267/0.5115, allocations: 1.5 MB / 1.332 GB, free: 7.398 MB / 1.029 GB " [Timeout remaining time 299] 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: 10.18605793081224]