Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001408/0.001408, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002067/0.002067, allocations: 213.7 kB / 22.24 MB, free: 5.238 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.469/3.469, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_latest_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.002912/0.002912, allocations: 68.53 kB / 1.186 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.3989, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.00395/0.4028, allocations: 2.124 MB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004046/0.4069, allocations: 2.519 MB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001747/0.4071, allocations: 4 kB / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001509/0.4086, allocations: 0.4899 MB / 1.368 GB, free: 8.918 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004265/0.409, allocations: 163.2 kB / 1.369 GB, free: 8.758 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006118/0.4096, allocations: 219.4 kB / 1.369 GB, free: 8.543 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005187/0.4101, allocations: 376.5 kB / 1.369 GB, free: 8.176 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.4103, allocations: 29.27 kB / 1.369 GB, free: 8.141 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.4105, allocations: 143.2 kB / 1.369 GB, free: 8 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002285/0.4107, allocations: 151.2 kB / 1.369 GB, free: 7.852 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.4107, allocations: 12 kB / 1.369 GB, free: 7.84 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.4109, allocations: 75.88 kB / 1.37 GB, free: 7.766 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.4111, allocations: 131.5 kB / 1.37 GB, free: 7.637 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001892/0.4113, allocations: 158.7 kB / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009437/0.4122, allocations: 0.7351 MB / 1.371 GB, free: 6.742 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.4122, allocations: 4 kB / 1.371 GB, free: 6.738 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.485e-06/0.4122, allocations: 0 / 1.371 GB, free: 6.738 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.908e-06/0.4123, allocations: 0 / 1.371 GB, free: 6.738 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001566/0.4138, allocations: 0.8624 MB / 1.371 GB, free: 5.836 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.4139, allocations: 8.031 kB / 1.371 GB, free: 5.828 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.425e-05/0.4139, allocations: 38.75 kB / 1.371 GB, free: 5.781 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.414, allocations: 72.47 kB / 1.372 GB, free: 5.711 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007091/0.4148, allocations: 398.9 kB / 1.372 GB, free: 5.293 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.4148, allocations: 12.36 kB / 1.372 GB, free: 5.281 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.4148, allocations: 7.938 kB / 1.372 GB, free: 5.273 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.4151, allocations: 138.8 kB / 1.372 GB, free: 5.113 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.4151, allocations: 0 / 1.372 GB, free: 5.113 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.4151, allocations: 4 kB / 1.372 GB, free: 5.109 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.4151, allocations: 4 kB / 1.372 GB, free: 5.105 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.4153, allocations: 47.91 kB / 1.372 GB, free: 5.059 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008958/0.4162, allocations: 495.7 kB / 1.373 GB, free: 4.531 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004051/0.4166, allocations: 106.6 kB / 1.373 GB, free: 4.418 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.4167, allocations: 32.84 kB / 1.373 GB, free: 4.383 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.4167, allocations: 0 / 1.373 GB, free: 4.383 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002133/0.4169, allocations: 113.1 kB / 1.373 GB, free: 4.254 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.4169, allocations: 4 kB / 1.373 GB, free: 4.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0004665/0.4174, allocations: 209.3 kB / 1.373 GB, free: 4.039 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.4175, allocations: 81.11 kB / 1.373 GB, free: 3.941 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.4187, allocations: 0.9305 MB / 1.374 GB, free: 3.004 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.4187, allocations: 25.7 kB / 1.374 GB, free: 2.973 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003401/0.419, allocations: 324 kB / 1.374 GB, free: 2.652 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.4191, allocations: 27.78 kB / 1.374 GB, free: 2.625 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/0.4191, allocations: 25.7 kB / 1.374 GB, free: 2.594 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.4193, allocations: 310 kB / 1.375 GB, free: 2.285 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.119e-05/0.4193, allocations: 27.98 kB / 1.375 GB, free: 2.258 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.4195, allocations: 130.8 kB / 1.375 GB, free: 2.105 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.4196, allocations: 73.62 kB / 1.375 GB, free: 2.027 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4197, allocations: 0 / 1.375 GB, free: 2.027 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003155/0.42, allocations: 173.2 kB / 1.375 GB, free: 1.852 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.42, allocations: 4 kB / 1.375 GB, free: 1.848 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.42, allocations: 0 / 1.375 GB, free: 1.848 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.42, allocations: 3.938 kB / 1.375 GB, free: 1.844 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.181e-05/0.4201, allocations: 15.98 kB / 1.375 GB, free: 1.828 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.4201, allocations: 64 / 1.375 GB, free: 1.828 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.4202, allocations: 11.94 kB / 1.375 GB, free: 1.816 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.4202, allocations: 7.984 kB / 1.375 GB, free: 1.809 MB / 1.061 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.0003671/0.4206, allocations: 317.7 kB / 1.375 GB, free: 1.488 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.239e-05/0.4207, allocations: 71.53 kB / 1.375 GB, free: 1.418 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004011/0.4211, allocations: 200 kB / 1.376 GB, free: 1.211 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.4211, allocations: 0 / 1.376 GB, free: 1.211 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4211, allocations: 0 / 1.376 GB, free: 1.211 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.4211, allocations: 3.938 kB / 1.376 GB, free: 1.207 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004363/0.4215, allocations: 356.5 kB / 1.376 GB, free: 0.8164 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.4215, allocations: 7.938 kB / 1.376 GB, free: 0.8086 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.404e-05/0.4216, allocations: 8 kB / 1.376 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.4216, allocations: 3.984 kB / 1.376 GB, free: 0.7969 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.4216, allocations: 7.984 kB / 1.376 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.4216, allocations: 0 / 1.376 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4216, allocations: 4 kB / 1.376 GB, free: 0.7852 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003348/0.422, allocations: 208.5 kB / 1.376 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.4221, allocations: 63.53 kB / 1.376 GB, free: 0.5 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.737e-05/0.4221, allocations: 4 kB / 1.376 GB, free: 0.4961 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.4223, allocations: 11.98 kB / 1.376 GB, free: 496 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/0.4223, allocations: 11.92 kB / 1.376 GB, free: 484 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.4223, allocations: 4 kB / 1.376 GB, free: 480 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008775/0.4232, allocations: 0.6864 MB / 1.377 GB, free: 15.78 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.4232, allocations: 0 / 1.377 GB, free: 15.78 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003065/0.4235, allocations: 63.92 kB / 1.377 GB, free: 15.72 MB / 1.076 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.002286/0.4258, allocations: 1.087 MB / 1.378 GB, free: 14.79 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002616/0.4261, allocations: 75.95 kB / 1.378 GB, free: 14.72 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4261, allocations: 4 kB / 1.378 GB, free: 14.71 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.4262, allocations: 43.91 kB / 1.378 GB, free: 14.67 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006951/0.4269, allocations: 175 kB / 1.378 GB, free: 14.51 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006967/0.4338, allocations: 4.869 MB / 1.383 GB, free: 9.539 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005619/0.4344, allocations: 395.6 kB / 1.384 GB, free: 9.129 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002777/0.4347, allocations: 51.25 kB / 1.384 GB, free: 9.074 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003271/0.435, allocations: 203.4 kB / 1.384 GB, free: 8.875 MB / 1.076 GB Notification: Performance of SimCode: time 1.513e-06/0.435, allocations: 0 / 1.384 GB, free: 8.875 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04886/0.4839, allocations: 14.56 MB / 1.398 GB, free: 10.52 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12, allocations: 15.17 kB / 1.398 GB, free: 10.51 MB / 1.092 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.315285441931337]