Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.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.001034/0.001034, allocations: 100.3 kB / 19.72 MB, free: 428 kB / 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.0008937/0.0008937, allocations: 215.3 kB / 23.02 MB, free: 2.973 MB / 13.93 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.9323/0.9323, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.872/1.872, allocations: 0.5046 GB / 0.8104 GB, free: 2.777 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.SpeedShift,fileNamePrefix="Buildings_13_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_13_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 71.89 kB / 1.177 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7322/0.7336, allocations: 180 MB / 1.352 GB, free: 1.648 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003803/0.7374, allocations: 2.022 MB / 1.354 GB, free: 15.62 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.003963/0.7414, allocations: 2.359 MB / 1.357 GB, free: 13.25 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.7415, allocations: 0 / 1.357 GB, free: 13.25 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.743, allocations: 460.3 kB / 1.357 GB, free: 12.8 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001649/0.7432, allocations: 79.53 kB / 1.357 GB, free: 12.72 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009723/0.7441, allocations: 277.2 kB / 1.358 GB, free: 12.45 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0004609/0.7446, allocations: 330.7 kB / 1.358 GB, free: 12.13 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.7447, allocations: 45.25 kB / 1.358 GB, free: 12.08 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.7449, allocations: 107.5 kB / 1.358 GB, free: 11.98 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002159/0.7451, allocations: 143.2 kB / 1.358 GB, free: 11.84 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 3.183e-05/0.7451, allocations: 8 kB / 1.358 GB, free: 11.83 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006205/0.7458, allocations: 331.5 kB / 1.358 GB, free: 11.5 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.7459, allocations: 103.5 kB / 1.359 GB, free: 11.4 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.7461, allocations: 150.8 kB / 1.359 GB, free: 11.25 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.001055/0.7472, allocations: 0.8327 MB / 1.36 GB, free: 10.42 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.7472, allocations: 8 kB / 1.36 GB, free: 10.41 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7472, allocations: 0 / 1.36 GB, free: 10.41 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.446e-05/0.7472, allocations: 0 / 1.36 GB, free: 10.41 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001239/0.7484, allocations: 0.8158 MB / 1.36 GB, free: 9.555 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.7485, allocations: 8.922 kB / 1.36 GB, free: 9.547 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.924e-05/0.7485, allocations: 42.73 kB / 1.36 GB, free: 9.496 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.7486, allocations: 72.47 kB / 1.36 GB, free: 9.426 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005159/0.7491, allocations: 335 kB / 1.361 GB, free: 9.07 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.7492, allocations: 8.375 kB / 1.361 GB, free: 9.062 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.7492, allocations: 8.375 kB / 1.361 GB, free: 9.055 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/0.7495, allocations: 169.6 kB / 1.361 GB, free: 8.879 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.7495, allocations: 0 / 1.361 GB, free: 8.879 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.7495, allocations: 4 kB / 1.361 GB, free: 8.875 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.7495, allocations: 7.984 kB / 1.361 GB, free: 8.867 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001918/0.7497, allocations: 125.6 kB / 1.361 GB, free: 8.738 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000825/0.7505, allocations: 0.4995 MB / 1.362 GB, free: 8.195 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.7507, allocations: 120.2 kB / 1.362 GB, free: 8.062 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004078/0.7512, allocations: 82.86 kB / 1.362 GB, free: 7.973 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.487e-05/0.7512, allocations: 15.92 kB / 1.362 GB, free: 7.957 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002266/0.7514, allocations: 166.8 kB / 1.362 GB, free: 7.77 MB / 1.042 GB Notification: Performance of pre-optimization done (n=11): time 1.793e-06/0.7514, allocations: 0 / 1.362 GB, free: 7.77 MB / 1.042 GB Notification: Performance of matching and sorting (n=11): time 0.0005486/0.752, allocations: 382.1 kB / 1.362 GB, free: 7.371 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.752, allocations: 81.11 kB / 1.362 GB, free: 7.273 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.753, allocations: 0.7935 MB / 1.363 GB, free: 6.469 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.7531, allocations: 25.7 kB / 1.363 GB, free: 6.438 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002693/0.7533, allocations: 288.3 kB / 1.363 GB, free: 6.148 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/0.7534, allocations: 27.75 kB / 1.363 GB, free: 6.121 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-05/0.7534, allocations: 33.64 kB / 1.363 GB, free: 6.082 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.7535, allocations: 314 kB / 1.364 GB, free: 5.77 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.811e-05/0.7536, allocations: 73.69 kB / 1.364 GB, free: 5.691 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.856e-05/0.7537, allocations: 81.67 kB / 1.364 GB, free: 5.605 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.7539, allocations: 164.2 kB / 1.364 GB, free: 5.43 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.7539, allocations: 0 / 1.364 GB, free: 5.43 MB / 1.042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003765/0.7543, allocations: 312.5 kB / 1.364 GB, free: 5.105 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 4.723e-05/0.7543, allocations: 41.69 kB / 1.364 GB, free: 5.059 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.7543, allocations: 0 / 1.364 GB, free: 5.059 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.7543, allocations: 0 / 1.364 GB, free: 5.059 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.113e-05/0.7544, allocations: 16 kB / 1.364 GB, free: 5.043 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.7544, allocations: 3.938 kB / 1.364 GB, free: 5.039 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.7546, allocations: 11.94 kB / 1.364 GB, free: 5.027 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.7546, allocations: 8 kB / 1.364 GB, free: 5.02 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (booleanToInteger.y,greaterThreshold.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0003539/0.7549, allocations: 337.6 kB / 1.365 GB, free: 4.676 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.883e-05/0.755, allocations: 75.52 kB / 1.365 GB, free: 4.602 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005355/0.7556, allocations: 326.7 kB / 1.365 GB, free: 4.254 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.7556, allocations: 0 / 1.365 GB, free: 4.254 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.7556, allocations: 0 / 1.365 GB, free: 4.254 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.7556, allocations: 4 kB / 1.365 GB, free: 4.25 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003962/0.756, allocations: 340.4 kB / 1.366 GB, free: 3.875 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.756, allocations: 3.938 kB / 1.366 GB, free: 3.871 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.931e-05/0.756, allocations: 4 kB / 1.366 GB, free: 3.867 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.756, allocations: 8 kB / 1.366 GB, free: 3.859 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.7561, allocations: 7.984 kB / 1.366 GB, free: 3.852 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.7561, allocations: 0 / 1.366 GB, free: 3.852 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.7561, allocations: 4 kB / 1.366 GB, free: 3.848 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004166/0.7565, allocations: 344.4 kB / 1.366 GB, free: 3.48 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.7566, allocations: 67.56 kB / 1.366 GB, free: 3.414 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.441e-05/0.7567, allocations: 11.98 kB / 1.366 GB, free: 3.402 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.7568, allocations: 4 kB / 1.366 GB, free: 3.398 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.664e-05/0.7568, allocations: 7.969 kB / 1.366 GB, free: 3.391 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.7569, allocations: 11.94 kB / 1.366 GB, free: 3.379 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0007141/0.7576, allocations: 0.5848 MB / 1.367 GB, free: 2.801 MB / 1.042 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7576, allocations: 4 kB / 1.367 GB, free: 2.797 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.000519/0.7581, allocations: 131.7 kB / 1.367 GB, free: 2.668 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0007579/0.7588, allocations: 0.9654 MB / 1.368 GB, free: 1.664 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002579/0.7591, allocations: 242.7 kB / 1.368 GB, free: 1.402 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7591, allocations: 0 / 1.368 GB, free: 1.402 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 9.816e-05/0.7592, allocations: 157 kB / 1.368 GB, free: 1.23 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.7596, allocations: 125.8 kB / 1.368 GB, free: 1.109 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00435/0.764, allocations: 4.852 MB / 1.373 GB, free: 12.12 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.7642, allocations: 386.8 kB / 1.373 GB, free: 11.72 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 8.977e-05/0.7643, allocations: 21.95 kB / 1.373 GB, free: 11.7 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.7644, allocations: 171.4 kB / 1.373 GB, free: 11.54 MB / 1.057 GB Notification: Performance of SimCode: time 9.22e-07/0.7644, allocations: 0 / 1.373 GB, free: 11.54 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09068/0.8551, allocations: 13.11 MB / 1.386 GB, free: 14.7 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.283/8.138, allocations: 5.25 kB / 1.386 GB, free: 14.7 MB / 1.073 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.fmu) > Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_fmpy_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 ../Buildings_13_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.fmu) > Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.846820436418056]