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.001934/0.001934, allocations: 105.6 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.002307/0.002307, 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.473/1.473, allocations: 230.6 MB / 252.8 MB, free: 8.941 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.222/3.222, allocations: 0.49 GB / 0.7916 GB, free: 33.45 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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) [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.00223/0.00223, allocations: 77.05 kB / 1.149 GB, free: 26.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3442, allocations: 176.1 MB / 1.321 GB, free: 3.43 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004172/0.3484, allocations: 2.197 MB / 1.323 GB, free: 1.219 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00424/0.3527, allocations: 2.823 MB / 1.326 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002059/0.3529, allocations: 4 kB / 1.326 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001529/0.3544, allocations: 0.5408 MB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004914/0.3549, allocations: 159.2 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006497/0.3555, allocations: 210.2 kB / 1.327 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005757/0.3561, allocations: 390.1 kB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.3563, allocations: 45.08 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002483/0.3565, allocations: 139.3 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002521/0.3568, allocations: 155.1 kB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.459e-05/0.3568, allocations: 8 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002259/0.357, allocations: 71.89 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001782/0.3572, allocations: 127.5 kB / 1.328 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002389/0.3574, allocations: 242.3 kB / 1.328 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009421/0.3584, allocations: 0.7273 MB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3584, allocations: 0 / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3584, allocations: 0 / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.823e-05/0.3584, allocations: 3.938 kB / 1.328 GB, free: 11.58 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.001498/0.3599, allocations: 0.9377 MB / 1.329 GB, free: 10.59 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.36, allocations: 11.98 kB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.879e-05/0.36, allocations: 34.75 kB / 1.329 GB, free: 10.53 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.3601, allocations: 76.47 kB / 1.329 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006615/0.3608, allocations: 464.8 kB / 1.33 GB, free: 9.961 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.3608, allocations: 8.312 kB / 1.33 GB, free: 9.953 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.3608, allocations: 11.94 kB / 1.33 GB, free: 9.941 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.3611, allocations: 96.16 kB / 1.33 GB, free: 9.832 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.3611, allocations: 0 / 1.33 GB, free: 9.832 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.3611, allocations: 7.984 kB / 1.33 GB, free: 9.824 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.3611, allocations: 4 kB / 1.33 GB, free: 9.82 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.3613, allocations: 43.91 kB / 1.33 GB, free: 9.777 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008981/0.3622, allocations: 0.5318 MB / 1.331 GB, free: 9.195 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004345/0.3626, allocations: 98.69 kB / 1.331 GB, free: 9.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.342e-05/0.3627, allocations: 28.84 kB / 1.331 GB, free: 9.059 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.3627, allocations: 3.984 kB / 1.331 GB, free: 9.055 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002004/0.3629, allocations: 87.38 kB / 1.331 GB, free: 8.957 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 2.314e-06/0.3629, allocations: 0 / 1.331 GB, free: 8.957 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004875/0.3634, allocations: 197.1 kB / 1.331 GB, free: 8.758 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.556e-05/0.3635, allocations: 110.8 kB / 1.331 GB, free: 8.625 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.3647, allocations: 0.9267 MB / 1.332 GB, free: 7.688 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.3647, allocations: 29.7 kB / 1.332 GB, free: 7.652 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003609/0.3651, allocations: 335.9 kB / 1.332 GB, free: 7.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/0.3651, allocations: 19.83 kB / 1.332 GB, free: 7.301 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.811e-05/0.3652, allocations: 29.7 kB / 1.332 GB, free: 7.266 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3654, allocations: 306 kB / 1.333 GB, free: 6.961 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.376e-05/0.3654, allocations: 27.98 kB / 1.333 GB, free: 6.934 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.3656, allocations: 72.27 kB / 1.333 GB, free: 6.848 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.3658, allocations: 77.62 kB / 1.333 GB, free: 6.766 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3658, allocations: 0 / 1.333 GB, free: 6.766 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003324/0.3661, allocations: 165.2 kB / 1.333 GB, free: 6.598 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.3661, allocations: 8 kB / 1.333 GB, free: 6.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3661, allocations: 0 / 1.333 GB, free: 6.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.3661, allocations: 0 / 1.333 GB, free: 6.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.3662, allocations: 23.92 kB / 1.333 GB, free: 6.566 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.3662, allocations: 0 / 1.333 GB, free: 6.566 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.3664, allocations: 15.92 kB / 1.333 GB, free: 6.551 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.3664, allocations: 4 kB / 1.333 GB, free: 6.547 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.00038/0.3668, allocations: 321.7 kB / 1.333 GB, free: 6.223 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.661e-05/0.3669, allocations: 75.47 kB / 1.333 GB, free: 6.148 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001564/0.367, allocations: 78.41 kB / 1.334 GB, free: 6.062 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3671, allocations: 0 / 1.334 GB, free: 6.062 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3671, allocations: 0 / 1.334 GB, free: 6.062 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.3671, allocations: 3.938 kB / 1.334 GB, free: 6.059 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004674/0.3675, allocations: 397.4 kB / 1.334 GB, free: 5.621 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3675, allocations: 4 kB / 1.334 GB, free: 5.617 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.293e-05/0.3676, allocations: 11.92 kB / 1.334 GB, free: 5.605 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3676, allocations: 4 kB / 1.334 GB, free: 5.602 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.3676, allocations: 0 / 1.334 GB, free: 5.602 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.3676, allocations: 4 kB / 1.334 GB, free: 5.598 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3676, allocations: 0 / 1.334 GB, free: 5.598 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003549/0.368, allocations: 201 kB / 1.334 GB, free: 5.383 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/0.3681, allocations: 140.6 kB / 1.334 GB, free: 5.227 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.175e-05/0.3682, allocations: 15.98 kB / 1.334 GB, free: 5.211 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.3683, allocations: 0 / 1.334 GB, free: 5.211 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.502e-05/0.3684, allocations: 15.92 kB / 1.334 GB, free: 5.195 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.3684, allocations: 4 kB / 1.334 GB, free: 5.191 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009669/0.3694, allocations: 0.6864 MB / 1.335 GB, free: 4.508 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3694, allocations: 192 / 1.335 GB, free: 4.508 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003325/0.3697, allocations: 56 kB / 1.335 GB, free: 4.453 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.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.002227/0.3719, allocations: 1.074 MB / 1.336 GB, free: 3.512 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000274/0.3722, allocations: 71.89 kB / 1.336 GB, free: 3.441 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3722, allocations: 0 / 1.336 GB, free: 3.441 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.3723, allocations: 35.97 kB / 1.336 GB, free: 3.406 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007843/0.3731, allocations: 180.7 kB / 1.336 GB, free: 3.238 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007155/0.3802, allocations: 4.855 MB / 1.341 GB, free: 14.28 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007408/0.381, allocations: 0.9902 MB / 1.342 GB, free: 13.26 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000244/0.3812, allocations: 55.19 kB / 1.342 GB, free: 13.21 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002812/0.3815, allocations: 191.4 kB / 1.342 GB, free: 13.02 MB / 1.045 GB Notification: Performance of SimCode: time 1.163e-06/0.3815, allocations: 0 / 1.342 GB, free: 13.02 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04536/0.4269, allocations: 13.39 MB / 1.355 GB, free: 15.87 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.768/10.2, allocations: 7.562 kB / 1.355 GB, free: 15.87 MB / 1.061 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 420.0] 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: 16.975113823078573]