Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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.001975/0.001975, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002535/0.002535, allocations: 212.4 kB / 22.99 MB, free: 4.984 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.726/1.726, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.311/3.311, allocations: 0.49 GB / 0.7959 GB, free: 35.56 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.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") [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.002106/0.002106, allocations: 62.62 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4304/0.4325, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004379/0.4369, allocations: 2.124 MB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004441/0.4413, allocations: 2.535 MB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000226/0.4415, allocations: 4 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001829/0.4434, allocations: 0.4899 MB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004733/0.4438, allocations: 167.2 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007369/0.4446, allocations: 205.4 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005745/0.4452, allocations: 389.2 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.4453, allocations: 29.27 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.4455, allocations: 139.4 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002861/0.4458, allocations: 163.1 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.971e-05/0.4458, allocations: 8 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002163/0.4461, allocations: 67.94 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001899/0.4462, allocations: 135.4 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000191/0.4464, allocations: 158.7 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009364/0.4474, allocations: 0.7352 MB / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.378e-06/0.4474, allocations: 4 kB / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4474, allocations: 0 / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.886e-06/0.4474, allocations: 0 / 1.334 GB, free: 9.621 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001477/0.4489, allocations: 0.8623 MB / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.4489, allocations: 8.031 kB / 1.335 GB, free: 8.711 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.449, allocations: 76.42 kB / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006009/0.4496, allocations: 402.9 kB / 1.336 GB, free: 8.215 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.4496, allocations: 4.375 kB / 1.336 GB, free: 8.211 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.4497, allocations: 8.125 kB / 1.336 GB, free: 8.203 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/0.4499, allocations: 150.7 kB / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.45, allocations: 0 / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.45, allocations: 0 / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.45, allocations: 0 / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.4501, allocations: 43.97 kB / 1.336 GB, free: 7.988 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000887/0.451, allocations: 476.2 kB / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004675/0.4515, allocations: 98.64 kB / 1.336 GB, free: 7.387 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.06e-05/0.4516, allocations: 36.84 kB / 1.336 GB, free: 7.348 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.4516, allocations: 0 / 1.336 GB, free: 7.348 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002397/0.4518, allocations: 117.1 kB / 1.336 GB, free: 7.215 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.4518, allocations: 0 / 1.336 GB, free: 7.215 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004758/0.4523, allocations: 205.2 kB / 1.337 GB, free: 7.008 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/0.4524, allocations: 77.11 kB / 1.337 GB, free: 6.914 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.4536, allocations: 0.9267 MB / 1.338 GB, free: 5.977 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.4536, allocations: 29.7 kB / 1.338 GB, free: 5.941 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000358/0.454, allocations: 320 kB / 1.338 GB, free: 5.625 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.454, allocations: 31.77 kB / 1.338 GB, free: 5.594 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/0.4541, allocations: 25.7 kB / 1.338 GB, free: 5.562 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.4542, allocations: 317.9 kB / 1.338 GB, free: 5.246 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.305e-05/0.4543, allocations: 31.91 kB / 1.338 GB, free: 5.215 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.4545, allocations: 118.8 kB / 1.338 GB, free: 5.074 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.4547, allocations: 73.98 kB / 1.339 GB, free: 4.996 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4547, allocations: 0 / 1.339 GB, free: 4.996 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003213/0.455, allocations: 181.1 kB / 1.339 GB, free: 4.812 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.455, allocations: 4 kB / 1.339 GB, free: 4.809 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.455, allocations: 4.062 kB / 1.339 GB, free: 4.805 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.455, allocations: 4.188 kB / 1.339 GB, free: 4.801 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.873e-05/0.4551, allocations: 15.98 kB / 1.339 GB, free: 4.785 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.4551, allocations: 7.938 kB / 1.339 GB, free: 4.777 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.4553, allocations: 11.94 kB / 1.339 GB, free: 4.766 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.4553, allocations: 3.938 kB / 1.339 GB, free: 4.762 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0003886/0.4557, allocations: 326.7 kB / 1.339 GB, free: 4.434 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.396e-05/0.4557, allocations: 71.53 kB / 1.339 GB, free: 4.363 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004112/0.4561, allocations: 188.1 kB / 1.339 GB, free: 4.168 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.4561, allocations: 4 kB / 1.339 GB, free: 4.164 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4562, allocations: 0 / 1.339 GB, free: 4.164 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.4562, allocations: 4 kB / 1.339 GB, free: 4.16 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004247/0.4566, allocations: 333 kB / 1.34 GB, free: 3.805 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.4566, allocations: 0 / 1.34 GB, free: 3.805 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.98e-05/0.4566, allocations: 11.94 kB / 1.34 GB, free: 3.793 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4566, allocations: 0 / 1.34 GB, free: 3.793 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.4567, allocations: 7.984 kB / 1.34 GB, free: 3.785 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4567, allocations: 4 kB / 1.34 GB, free: 3.781 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4567, allocations: 0 / 1.34 GB, free: 3.781 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003545/0.457, allocations: 208.6 kB / 1.34 GB, free: 3.559 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.4572, allocations: 59.53 kB / 1.34 GB, free: 3.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.318e-05/0.4572, allocations: 8 kB / 1.34 GB, free: 3.492 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.4574, allocations: 3.984 kB / 1.34 GB, free: 3.488 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.55e-05/0.4574, allocations: 11.98 kB / 1.34 GB, free: 3.477 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.4574, allocations: 4 kB / 1.34 GB, free: 3.473 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009132/0.4584, allocations: 0.6864 MB / 1.341 GB, free: 2.789 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4584, allocations: 0 / 1.341 GB, free: 2.789 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003279/0.4587, allocations: 71.81 kB / 1.341 GB, free: 2.719 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: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001814/0.4605, allocations: 459.8 kB / 1.341 GB, free: 2.449 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002632/0.4608, allocations: 67.91 kB / 1.341 GB, free: 2.383 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4608, allocations: 0 / 1.341 GB, free: 2.383 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.4609, allocations: 43.91 kB / 1.341 GB, free: 2.34 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000747/0.4616, allocations: 176.7 kB / 1.341 GB, free: 2.176 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.4634, allocations: 1.155 MB / 1.343 GB, free: 0.9883 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004879/0.4639, allocations: 395.7 kB / 1.343 GB, free: 0.5742 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001557/0.4641, allocations: 50.95 kB / 1.343 GB, free: 0.5234 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.05e-05/0.4642, allocations: 23.44 kB / 1.343 GB, free: 0.5 MB / 1.029 GB Notification: Performance of SimCode: time 3.61e-07/0.4642, allocations: 4 kB / 1.343 GB, free: 0.4961 MB / 1.029 GB Notification: Performance of Templates: time 0.01479/0.4789, allocations: 7.206 MB / 1.35 GB, free: 9.449 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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.920895344999735]