Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.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.000894/0.000894, allocations: 80.55 kB / 19.96 MB, free: 4.598 MB / 18.57 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.001518/0.001518, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.9012/0.9012, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.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.812/1.812, allocations: 389.6 MB / 0.6343 GB, free: 12.57 MB / 0.6042 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.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 3.938 kB / 1.001 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.762e-05/1.93e-05, allocations: 2.281 kB / 1.001 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001211/0.001231, allocations: 0.5955 MB / 1.001 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002016/0.001432, allocations: 35.89 kB / 1.001 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.537e-05/0.001448, allocations: 0 / 1.001 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.139e-05/0.001459, allocations: 3.938 kB / 1.001 GB, free: 12.81 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.761e-06/0.001465, allocations: 3.938 kB / 1.001 GB, free: 12.81 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.001681, allocations: 19.97 kB / 1.001 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 3.875e-05/0.001719, allocations: 4 kB / 1.001 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.826e-05/0.001758, allocations: 3.984 kB / 1.001 GB, free: 12.78 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.275e-05/0.00178, allocations: 0 / 1.001 GB, free: 12.78 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.334e-05/0.001804, allocations: 4 kB / 1.001 GB, free: 12.78 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.001816, allocations: 0 / 1.001 GB, free: 12.78 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.681e-05/0.001903, allocations: 15.98 kB / 1.001 GB, free: 12.76 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.124e-05/0.001914, allocations: 0 / 1.001 GB, free: 12.76 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.419e-05/0.001928, allocations: 4 kB / 1.001 GB, free: 12.76 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.388e-05/0.002012, allocations: 23.89 kB / 1.001 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.002015, allocations: 4 kB / 1.001 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.27e-06/0.00202, allocations: 0 / 1.001 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.002025, allocations: 4 kB / 1.001 GB, free: 12.73 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000211/0.002236, allocations: 238.4 kB / 1.002 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.002274, allocations: 13.28 kB / 1.002 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.775e-05/0.002301, allocations: 30.75 kB / 1.002 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.00247, allocations: 20.89 kB / 1.002 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.343e-05/0.002523, allocations: 109.8 kB / 1.002 GB, free: 12.26 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.657e-06/0.002532, allocations: 384 / 1.002 GB, free: 12.26 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.002539, allocations: 384 / 1.002 GB, free: 12.26 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.279e-05/0.002632, allocations: 42.25 kB / 1.002 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.002639, allocations: 192 / 1.002 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.002646, allocations: 384 / 1.002 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.002651, allocations: 4.125 kB / 1.002 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.596e-05/0.002697, allocations: 11.98 kB / 1.002 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.118e-05/0.002788, allocations: 112.8 kB / 1.002 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.168e-05/0.00284, allocations: 26.53 kB / 1.002 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.685e-05/0.002867, allocations: 8.922 kB / 1.002 GB, free: 12 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.002881, allocations: 4 kB / 1.002 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.002899, allocations: 38.56 kB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.0029, allocations: 0 / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001525/0.003052, allocations: 41.67 kB / 1.002 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.003079, allocations: 63.28 kB / 1.002 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.264e-05/0.003102, allocations: 89.86 kB / 1.002 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.003113, allocations: 25.7 kB / 1.002 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.761e-05/0.00313, allocations: 80.14 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.003155, allocations: 4.062 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/0.003181, allocations: 25.7 kB / 1.002 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.333e-05/0.003254, allocations: 310.8 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.536e-05/0.00328, allocations: 4 kB / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.808e-05/0.003298, allocations: 7.922 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.775e-05/0.003346, allocations: 16.84 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.003347, allocations: 0 / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.835e-05/0.003416, allocations: 57.64 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.003426, allocations: 4 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.003431, allocations: 0 / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.003441, allocations: 0 / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.922e-05/0.00349, allocations: 7.984 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.003495, allocations: 3.938 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.415e-05/0.003509, allocations: 0 / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.003515, allocations: 7.938 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 4.785e-05/0.003563, allocations: 112.5 kB / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-06/0.003567, allocations: 4.031 kB / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.574e-05/0.003592, allocations: 3 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.003594, allocations: 0 / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.003599, allocations: 3.938 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.003602, allocations: 4 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.23e-05/0.003655, allocations: 116.8 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.003655, allocations: 0 / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.674e-05/0.003672, allocations: 4 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.003673, allocations: 0 / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.003679, allocations: 0 / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.003681, allocations: 3.984 kB / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.003682, allocations: 7.938 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.384e-05/0.003756, allocations: 69.06 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.106e-06/0.003759, allocations: 0 / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.373e-06/0.003767, allocations: 0 / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.319e-05/0.00378, allocations: 7.984 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.226e-05/0.003792, allocations: 3.938 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.003794, allocations: 0 / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 1.858e-05/0.003812, allocations: 75.28 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.003812, allocations: 0 / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001226/0.003935, allocations: 8.031 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0002248/0.00416, allocations: 0.593 MB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.268e-05/0.004242, allocations: 19.92 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.004244, allocations: 0 / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.732e-05/0.004261, allocations: 4 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.201e-05/0.004353, allocations: 15.75 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002434/0.004596, allocations: 106.7 kB / 1.004 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.976e-05/0.004626, allocations: 59.34 kB / 1.004 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.254e-05/0.004649, allocations: 3.984 kB / 1.004 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.157e-05/0.00467, allocations: 12.44 kB / 1.004 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of SimCode: time 3.51e-07/0.004671, allocations: 4 kB / 1.004 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07223/0.0769, allocations: 1.579 MB / 1.006 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.681/6.758, allocations: 9.891 kB / 1.006 GB, free: 8.301 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_RegStep.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep_fmpy_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_RegStep.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.163810019381344]