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.001814/0.001814, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002439/0.002439, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.781 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.243/3.243, allocations: 0.4893 GB / 0.7943 GB, free: 35.42 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.003028/0.003028, allocations: 72.52 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.409/0.412, allocations: 176.1 MB / 1.325 GB, free: 2.328 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003845/0.4158, allocations: 2.14 MB / 1.327 GB, free: 188 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003771/0.4196, allocations: 2.527 MB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/0.4198, allocations: 7.938 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.4211, allocations: 493.8 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003834/0.4215, allocations: 167.2 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005654/0.4221, allocations: 199.4 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000489/0.4226, allocations: 396.8 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.4227, allocations: 33.27 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.4229, allocations: 135.3 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002234/0.4231, allocations: 155.2 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.566e-05/0.4231, allocations: 8 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.4233, allocations: 67.94 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.4235, allocations: 131.5 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001675/0.4236, allocations: 158.7 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008258/0.4245, allocations: 0.7351 MB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4245, allocations: 0 / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4245, allocations: 4 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.4245, allocations: 3.984 kB / 1.332 GB, free: 10.98 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.001321/0.4258, allocations: 0.8662 MB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.4259, allocations: 8.031 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.179e-05/0.4259, allocations: 38.75 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.952e-05/0.426, allocations: 76.45 kB / 1.333 GB, free: 9.941 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005794/0.4266, allocations: 399 kB / 1.334 GB, free: 9.523 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.4266, allocations: 4.375 kB / 1.334 GB, free: 9.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.4266, allocations: 11.94 kB / 1.334 GB, free: 9.508 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.4269, allocations: 154.6 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.4269, allocations: 0 / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.4269, allocations: 4 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.4269, allocations: 0 / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.427, allocations: 43.97 kB / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008051/0.4278, allocations: 491.6 kB / 1.334 GB, free: 8.762 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004197/0.4283, allocations: 102.6 kB / 1.334 GB, free: 8.652 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.656e-05/0.4283, allocations: 32.84 kB / 1.334 GB, free: 8.617 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.4284, allocations: 7.938 kB / 1.334 GB, free: 8.609 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002156/0.4286, allocations: 113.1 kB / 1.334 GB, free: 8.48 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.4286, allocations: 0 / 1.334 GB, free: 8.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.000479/0.4291, allocations: 209.2 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.696e-05/0.4291, allocations: 77.11 kB / 1.335 GB, free: 8.176 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.4303, allocations: 0.9305 MB / 1.336 GB, free: 7.234 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.4303, allocations: 33.7 kB / 1.336 GB, free: 7.195 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003174/0.4306, allocations: 323.9 kB / 1.336 GB, free: 6.875 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.4307, allocations: 19.83 kB / 1.336 GB, free: 6.855 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-05/0.4307, allocations: 25.72 kB / 1.336 GB, free: 6.824 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.4309, allocations: 318 kB / 1.336 GB, free: 6.508 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.099e-05/0.4309, allocations: 23.98 kB / 1.336 GB, free: 6.484 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.4311, allocations: 126.8 kB / 1.337 GB, free: 6.336 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.4312, allocations: 69.7 kB / 1.337 GB, free: 6.262 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4312, allocations: 0 / 1.337 GB, free: 6.262 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003013/0.4315, allocations: 177.4 kB / 1.337 GB, free: 6.082 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.4316, allocations: 4 kB / 1.337 GB, free: 6.078 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4316, allocations: 80 / 1.337 GB, free: 6.078 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.4316, allocations: 4.062 kB / 1.337 GB, free: 6.074 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.384e-05/0.4317, allocations: 15.98 kB / 1.337 GB, free: 6.059 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.4317, allocations: 7.984 kB / 1.337 GB, free: 6.051 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.4318, allocations: 11.89 kB / 1.337 GB, free: 6.039 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.4318, allocations: 4 kB / 1.337 GB, free: 6.035 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.0003385/0.4322, allocations: 322.9 kB / 1.337 GB, free: 5.711 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.934e-05/0.4322, allocations: 71.53 kB / 1.337 GB, free: 5.641 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003773/0.4326, allocations: 196 kB / 1.337 GB, free: 5.438 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.4326, allocations: 0 / 1.337 GB, free: 5.438 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4326, allocations: 4 kB / 1.337 GB, free: 5.434 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.4326, allocations: 3.938 kB / 1.337 GB, free: 5.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004066/0.433, allocations: 352.5 kB / 1.338 GB, free: 5.043 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.433, allocations: 4 kB / 1.338 GB, free: 5.039 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.554e-05/0.4331, allocations: 11.98 kB / 1.338 GB, free: 5.027 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.4331, allocations: 7.938 kB / 1.338 GB, free: 5.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.4331, allocations: 0 / 1.338 GB, free: 5.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4331, allocations: 0 / 1.338 GB, free: 5.02 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4331, allocations: 0 / 1.338 GB, free: 5.02 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.4334, allocations: 216.5 kB / 1.338 GB, free: 4.789 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.4336, allocations: 67.52 kB / 1.338 GB, free: 4.723 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.524e-05/0.4336, allocations: 8 kB / 1.338 GB, free: 4.715 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.4337, allocations: 7.984 kB / 1.338 GB, free: 4.707 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.863e-05/0.4338, allocations: 19.91 kB / 1.338 GB, free: 4.688 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.4338, allocations: 0 / 1.338 GB, free: 4.688 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000861/0.4347, allocations: 0.6864 MB / 1.339 GB, free: 4.004 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4347, allocations: 0 / 1.339 GB, free: 4.004 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003045/0.435, allocations: 67.89 kB / 1.339 GB, free: 3.938 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.002271/0.4373, allocations: 1.086 MB / 1.34 GB, free: 3.008 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000255/0.4375, allocations: 71.95 kB / 1.34 GB, free: 2.938 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4375, allocations: 0 / 1.34 GB, free: 2.938 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.4376, allocations: 39.92 kB / 1.34 GB, free: 2.898 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007115/0.4383, allocations: 178.5 kB / 1.34 GB, free: 2.734 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006348/0.4447, allocations: 4.873 MB / 1.345 GB, free: 13.75 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.4451, allocations: 395.7 kB / 1.345 GB, free: 13.34 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001935/0.4453, allocations: 46.95 kB / 1.345 GB, free: 13.29 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002757/0.4456, allocations: 195.4 kB / 1.345 GB, free: 13.1 MB / 1.045 GB Notification: Performance of SimCode: time 9.52e-07/0.4456, allocations: 4 kB / 1.345 GB, free: 13.1 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04621/0.4918, allocations: 14.58 MB / 1.36 GB, free: 14.75 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.97, allocations: 3.938 kB / 1.36 GB, free: 14.74 MB / 1.061 GB " [Timeout remaining time 288] (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: 18.88765412615612]