Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001473/0.001473, allocations: 111 kB / 16.46 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.001633/0.001633, 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.53/1.53, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.768/2.768, allocations: 476.7 MB / 0.7672 GB, free: 5.312 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_11_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.002055/0.002055, allocations: 71.89 kB / 1.112 GB, free: 1.516 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8081/0.8102, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004419/0.8146, allocations: 2.216 MB / 1.28 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00466/0.8192, allocations: 2.807 MB / 1.283 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002792/0.8195, allocations: 4 kB / 1.283 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001698/0.8212, allocations: 0.5501 MB / 1.284 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000567/0.8218, allocations: 167.2 kB / 1.284 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007496/0.8225, allocations: 195.5 kB / 1.284 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006548/0.8232, allocations: 384.8 kB / 1.284 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000193/0.8234, allocations: 41.08 kB / 1.284 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002744/0.8237, allocations: 139.3 kB / 1.285 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002779/0.8239, allocations: 159.1 kB / 1.285 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.41e-05/0.824, allocations: 12 kB / 1.285 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002454/0.8242, allocations: 71.94 kB / 1.285 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001937/0.8244, allocations: 135.4 kB / 1.285 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002671/0.8247, allocations: 234.3 kB / 1.285 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.8258, allocations: 0.7157 MB / 1.286 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.8258, allocations: 0 / 1.286 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.495e-06/0.8258, allocations: 3.938 kB / 1.286 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.957e-05/0.8258, allocations: 4 kB / 1.286 GB, free: 5.578 MB / 0.9825 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.001772/0.8276, allocations: 0.9377 MB / 1.287 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.8276, allocations: 8.031 kB / 1.287 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.592e-05/0.8277, allocations: 42.73 kB / 1.287 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001559/0.8278, allocations: 76.42 kB / 1.287 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007761/0.8286, allocations: 460.8 kB / 1.287 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.8286, allocations: 8.312 kB / 1.287 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.8287, allocations: 7.938 kB / 1.287 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/0.8289, allocations: 96.23 kB / 1.287 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.829, allocations: 0 / 1.287 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.829, allocations: 0 / 1.287 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.829, allocations: 4 kB / 1.287 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.8291, allocations: 47.84 kB / 1.288 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.8301, allocations: 0.5317 MB / 1.288 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004525/0.8306, allocations: 106.7 kB / 1.288 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.491e-05/0.8307, allocations: 28.84 kB / 1.288 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.8307, allocations: 4 kB / 1.288 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002228/0.8309, allocations: 79.38 kB / 1.288 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.894e-06/0.8309, allocations: 0 / 1.288 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0005784/0.8315, allocations: 197.2 kB / 1.288 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.361e-05/0.8316, allocations: 114.8 kB / 1.289 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/0.833, allocations: 0.9305 MB / 1.289 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.833, allocations: 25.7 kB / 1.289 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003378/0.8334, allocations: 328 kB / 1.29 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.891e-05/0.8334, allocations: 19.89 kB / 1.29 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.752e-05/0.8335, allocations: 25.72 kB / 1.29 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.8336, allocations: 310 kB / 1.29 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.8337, allocations: 31.98 kB / 1.29 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.8339, allocations: 72.27 kB / 1.29 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.834, allocations: 69.64 kB / 1.29 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.834, allocations: 0 / 1.29 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003848/0.8344, allocations: 165.2 kB / 1.29 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/0.8345, allocations: 12.03 kB / 1.29 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.8345, allocations: 0 / 1.29 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.8345, allocations: 192 / 1.29 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.996e-05/0.8346, allocations: 19.92 kB / 1.291 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.8346, allocations: 3.938 kB / 1.291 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.8348, allocations: 23.81 kB / 1.291 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.8348, allocations: 4 kB / 1.291 GB, free: 0.5508 MB / 0.9825 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.0004374/0.8352, allocations: 320.3 kB / 1.291 GB, free: 236 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.8354, allocations: 79.56 kB / 1.291 GB, free: 156 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001862/0.8356, allocations: 82.8 kB / 1.291 GB, free: 60 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.8356, allocations: 0 / 1.291 GB, free: 60 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.8356, allocations: 0 / 1.291 GB, free: 60 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.8356, allocations: 7.875 kB / 1.291 GB, free: 52 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005782/0.8361, allocations: 401.4 kB / 1.291 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.8362, allocations: 0 / 1.291 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.775e-05/0.8362, allocations: 8 kB / 1.291 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.8362, allocations: 0 / 1.291 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.8362, allocations: 3.938 kB / 1.291 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.8362, allocations: 0 / 1.291 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.8362, allocations: 0 / 1.291 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000409/0.8367, allocations: 208.5 kB / 1.292 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/0.8368, allocations: 140.6 kB / 1.292 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.733e-05/0.8369, allocations: 8 kB / 1.292 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.837, allocations: 7.984 kB / 1.292 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.536e-05/0.8371, allocations: 7.938 kB / 1.292 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.8371, allocations: 7.984 kB / 1.292 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000997/0.8381, allocations: 0.6825 MB / 1.292 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.8381, allocations: 4 kB / 1.292 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003414/0.8385, allocations: 63.92 kB / 1.292 GB, free: 14.44 MB / 0.9981 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.002334/0.8408, allocations: 1.063 MB / 1.294 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002854/0.8411, allocations: 75.89 kB / 1.294 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.8411, allocations: 0 / 1.294 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.8412, allocations: 31.98 kB / 1.294 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007934/0.842, allocations: 172.2 kB / 1.294 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007705/0.8497, allocations: 4.861 MB / 1.299 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008181/0.8505, allocations: 0.9979 MB / 1.3 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002642/0.8508, allocations: 51.25 kB / 1.3 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003029/0.8511, allocations: 191.4 kB / 1.3 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of SimCode: time 1.944e-06/0.8511, allocations: 7.938 kB / 1.3 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04643/0.8975, allocations: 13.4 MB / 1.313 GB, free: 9.863 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.877/10.77, allocations: 8.688 kB / 1.313 GB, free: 9.859 MB / 1.014 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 17.013580083847046]