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.000772/0.000772, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007962/0.0007962, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8838/0.8838, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.693/1.693, allocations: 377.8 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 4 kB / 0.981 GB, free: 2.539 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.95e-05/2.222e-05, allocations: 2.281 kB / 0.981 GB, free: 2.535 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.002906/0.002928, allocations: 2.124 MB / 0.9831 GB, free: 408 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002453/0.005381, allocations: 2.534 MB / 0.9855 GB, free: 13.85 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.005523, allocations: 0 / 0.9855 GB, free: 13.85 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.006581, allocations: 0.4936 MB / 0.986 GB, free: 13.36 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002877/0.006869, allocations: 171.1 kB / 0.9862 GB, free: 13.19 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004173/0.007286, allocations: 206.4 kB / 0.9864 GB, free: 12.99 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003455/0.007632, allocations: 402 kB / 0.9868 GB, free: 12.59 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.007736, allocations: 33.27 kB / 0.9868 GB, free: 12.56 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.007926, allocations: 179.5 kB / 0.987 GB, free: 12.38 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.008074, allocations: 123.6 kB / 0.9871 GB, free: 12.26 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.165e-05/0.008105, allocations: 12 kB / 0.9871 GB, free: 12.25 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.00825, allocations: 71.88 kB / 0.9872 GB, free: 12.18 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.008367, allocations: 135.5 kB / 0.9873 GB, free: 12.05 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 9.257e-05/0.00846, allocations: 107.5 kB / 0.9874 GB, free: 11.94 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005273/0.008987, allocations: 0.7007 MB / 0.9881 GB, free: 11.24 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.008989, allocations: 0 / 0.9881 GB, free: 11.24 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.242e-06/0.00899, allocations: 4 kB / 0.9881 GB, free: 11.23 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.008996, allocations: 0 / 0.9881 GB, free: 11.23 MB / 0.948 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.0008572/0.009853, allocations: 0.8507 MB / 0.9889 GB, free: 10.34 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.009889, allocations: 12.03 kB / 0.9889 GB, free: 10.33 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.88e-05/0.009917, allocations: 34.75 kB / 0.989 GB, free: 10.29 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.37e-05/0.009991, allocations: 76.47 kB / 0.989 GB, free: 10.21 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003667/0.01036, allocations: 402.1 kB / 0.9894 GB, free: 9.793 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.01037, allocations: 12.25 kB / 0.9894 GB, free: 9.781 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.01038, allocations: 4.375 kB / 0.9894 GB, free: 9.777 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.01056, allocations: 155.1 kB / 0.9896 GB, free: 9.602 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.01057, allocations: 0 / 0.9896 GB, free: 9.602 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.01058, allocations: 4 kB / 0.9896 GB, free: 9.598 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.01058, allocations: 0 / 0.9896 GB, free: 9.598 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.533e-05/0.01065, allocations: 47.91 kB / 0.9896 GB, free: 9.551 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004974/0.01115, allocations: 487.7 kB / 0.9901 GB, free: 9.031 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.01138, allocations: 102.7 kB / 0.9902 GB, free: 8.922 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.449e-05/0.01143, allocations: 32.84 kB / 0.9902 GB, free: 8.887 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.01144, allocations: 0 / 0.9902 GB, free: 8.887 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001281/0.01157, allocations: 125 kB / 0.9904 GB, free: 8.746 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.01157, allocations: 0 / 0.9904 GB, free: 8.746 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0002714/0.01184, allocations: 209.1 kB / 0.9906 GB, free: 8.535 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.01189, allocations: 77.11 kB / 0.9906 GB, free: 8.441 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007201/0.01261, allocations: 0.9267 MB / 0.9915 GB, free: 7.508 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.01263, allocations: 29.7 kB / 0.9916 GB, free: 7.473 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.01281, allocations: 316.1 kB / 0.9919 GB, free: 7.16 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.01283, allocations: 23.84 kB / 0.9919 GB, free: 7.137 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.01287, allocations: 21.72 kB / 0.9919 GB, free: 7.109 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.378e-05/0.01294, allocations: 321.9 kB / 0.9922 GB, free: 6.789 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.897e-05/0.01299, allocations: 31.98 kB / 0.9922 GB, free: 6.758 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.463e-05/0.01307, allocations: 118.8 kB / 0.9924 GB, free: 6.617 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.821e-05/0.01315, allocations: 73.94 kB / 0.9924 GB, free: 6.539 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.01316, allocations: 0 / 0.9924 GB, free: 6.539 MB / 0.948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001654/0.01332, allocations: 185.1 kB / 0.9926 GB, free: 6.352 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.01333, allocations: 4 kB / 0.9926 GB, free: 6.348 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.01334, allocations: 0 / 0.9926 GB, free: 6.348 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.01335, allocations: 4 kB / 0.9926 GB, free: 6.344 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.449e-05/0.01339, allocations: 20.23 kB / 0.9926 GB, free: 6.324 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.0134, allocations: 0 / 0.9926 GB, free: 6.324 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.845e-05/0.01347, allocations: 15.81 kB / 0.9926 GB, free: 6.309 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.01347, allocations: 0 / 0.9926 GB, free: 6.309 MB / 0.948 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.0002172/0.01369, allocations: 328 kB / 0.993 GB, free: 5.98 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.01373, allocations: 71.53 kB / 0.993 GB, free: 5.91 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.01396, allocations: 192.1 kB / 0.9932 GB, free: 5.715 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.01396, allocations: 0 / 0.9932 GB, free: 5.715 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.01397, allocations: 4 kB / 0.9932 GB, free: 5.711 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.01397, allocations: 4 kB / 0.9932 GB, free: 5.707 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.01422, allocations: 364.4 kB / 0.9936 GB, free: 5.309 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.01422, allocations: 0 / 0.9936 GB, free: 5.309 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.532e-05/0.01425, allocations: 7.984 kB / 0.9936 GB, free: 5.301 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.01425, allocations: 4 kB / 0.9936 GB, free: 5.297 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.01426, allocations: 0 / 0.9936 GB, free: 5.297 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.01426, allocations: 0 / 0.9936 GB, free: 5.297 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01426, allocations: 0 / 0.9936 GB, free: 5.297 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.01443, allocations: 212.5 kB / 0.9938 GB, free: 5.07 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.531e-05/0.01448, allocations: 67.52 kB / 0.9938 GB, free: 5.004 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.01451, allocations: 0 / 0.9938 GB, free: 5.004 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.021e-05/0.01457, allocations: 11.98 kB / 0.9939 GB, free: 4.992 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.01461, allocations: 11.98 kB / 0.9939 GB, free: 4.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.01463, allocations: 4 kB / 0.9939 GB, free: 4.977 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005105/0.01514, allocations: 0.6824 MB / 0.9945 GB, free: 4.297 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.01514, allocations: 4 kB / 0.9945 GB, free: 4.293 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001977/0.01533, allocations: 59.94 kB / 0.9946 GB, free: 4.234 MB / 0.948 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.001019/0.01635, allocations: 1.107 MB / 0.9957 GB, free: 3.285 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001524/0.01651, allocations: 79.94 kB / 0.9958 GB, free: 3.207 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.01651, allocations: 0 / 0.9958 GB, free: 3.207 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.276e-05/0.01656, allocations: 39.92 kB / 0.9958 GB, free: 3.168 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.01696, allocations: 167.3 kB / 0.996 GB, free: 3.008 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003991/0.02095, allocations: 4.87 MB / 1.001 GB, free: 14.03 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.02122, allocations: 403.6 kB / 1.001 GB, free: 13.61 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.000137/0.02136, allocations: 42.97 kB / 1.001 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.02155, allocations: 200.4 kB / 1.001 GB, free: 13.37 MB / 0.9636 GB Notification: Performance of SimCode: time 6.61e-07/0.02155, allocations: 0 / 1.001 GB, free: 13.37 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02618/0.04772, allocations: 14.66 MB / 1.016 GB, free: 14.95 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.052/7.1, allocations: 14.55 kB / 1.016 GB, free: 14.94 MB / 0.9792 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins/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: 11.314578865654767]