Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002198/0.002198, allocations: 113 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.001458/0.001458, 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.499/1.499, 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.986/2.986, allocations: 476.7 MB / 0.7672 GB, free: 5.25 MB / 0.6231 GB " [Timeout remaining time 176] 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.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegStep",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: 67.91 kB / 1.112 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8495/0.8515, allocations: 169.9 MB / 1.278 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001892/0.8534, allocations: 0.5913 MB / 1.279 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002743/0.8537, allocations: 57.67 kB / 1.279 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.485e-05/0.8537, allocations: 0 / 1.279 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.561e-05/0.8537, allocations: 0 / 1.279 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.422e-06/0.8537, allocations: 0 / 1.279 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.854, allocations: 15.92 kB / 1.279 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.313e-05/0.854, allocations: 4 kB / 1.279 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.649e-05/0.8541, allocations: 0 / 1.279 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.319e-05/0.8541, allocations: 4 kB / 1.279 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.949e-05/0.8541, allocations: 7.984 kB / 1.279 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.8541, allocations: 0 / 1.279 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.8542, allocations: 15.98 kB / 1.279 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.181e-05/0.8542, allocations: 0 / 1.279 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.778e-05/0.8543, allocations: 4 kB / 1.279 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.8544, allocations: 15.97 kB / 1.279 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.8544, allocations: 0 / 1.279 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8544, allocations: 0 / 1.279 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.8544, allocations: 0 / 1.279 GB, free: 12.69 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003725/0.8547, allocations: 325.2 kB / 1.279 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.8548, allocations: 12.03 kB / 1.279 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.589e-05/0.8548, allocations: 34.73 kB / 1.279 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002636/0.8551, allocations: 20.91 kB / 1.279 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.8552, allocations: 164.4 kB / 1.28 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.8552, allocations: 384 / 1.28 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-06/0.8552, allocations: 384 / 1.28 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.8554, allocations: 34.25 kB / 1.28 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.8554, allocations: 7.938 kB / 1.28 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.8554, allocations: 4 kB / 1.28 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.8554, allocations: 0 / 1.28 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.283e-05/0.8555, allocations: 7.984 kB / 1.28 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.8557, allocations: 145.7 kB / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.8558, allocations: 30.48 kB / 1.28 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.669e-05/0.8559, allocations: 16.91 kB / 1.28 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.8559, allocations: 0 / 1.28 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.8559, allocations: 30.56 kB / 1.28 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.8559, allocations: 4 kB / 1.28 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0002587/0.8562, allocations: 45.56 kB / 1.28 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.8562, allocations: 55.39 kB / 1.28 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.53e-05/0.8563, allocations: 97.98 kB / 1.28 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.8563, allocations: 29.7 kB / 1.28 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.765e-05/0.8563, allocations: 80.14 kB / 1.28 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.8564, allocations: 3.953 kB / 1.28 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.8564, allocations: 9.719 kB / 1.28 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.8566, allocations: 314.8 kB / 1.28 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.146e-05/0.8566, allocations: 3.984 kB / 1.28 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.44e-05/0.8567, allocations: 8 kB / 1.28 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.8568, allocations: 16.84 kB / 1.28 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.8568, allocations: 0 / 1.28 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001407/0.8569, allocations: 45.62 kB / 1.28 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.857, allocations: 6.5 kB / 1.28 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.857, allocations: 7.938 kB / 1.28 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.857, allocations: 0 / 1.28 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.241e-05/0.8571, allocations: 8.078 kB / 1.28 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.8571, allocations: 4 kB / 1.281 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.339e-05/0.8571, allocations: 3.938 kB / 1.281 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.8571, allocations: 0 / 1.281 GB, free: 10.91 MB / 0.9825 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 8.597e-05/0.8572, allocations: 105.8 kB / 1.281 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.8572, allocations: 7.984 kB / 1.281 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.102e-05/0.8573, allocations: 7.062 kB / 1.281 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.8573, allocations: 0 / 1.281 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.8573, allocations: 4 kB / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.8573, allocations: 0 / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.8574, allocations: 149.7 kB / 1.281 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.8574, allocations: 0 / 1.281 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.515e-05/0.8574, allocations: 7.984 kB / 1.281 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.8574, allocations: 3.984 kB / 1.281 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.8574, allocations: 3.938 kB / 1.281 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.8574, allocations: 0 / 1.281 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8574, allocations: 4 kB / 1.281 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.8576, allocations: 69.05 kB / 1.281 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.855e-05/0.8577, allocations: 81.11 kB / 1.281 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.8577, allocations: 3.938 kB / 1.281 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.731e-05/0.8577, allocations: 8 kB / 1.281 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.096e-05/0.8577, allocations: 3.938 kB / 1.281 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.8577, allocations: 0 / 1.281 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.425e-05/0.8578, allocations: 75.28 kB / 1.281 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8578, allocations: 4.031 kB / 1.281 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000179/0.858, allocations: 4 kB / 1.281 GB, free: 10.28 MB / 0.9825 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.0005052/0.8585, allocations: 0.6012 MB / 1.282 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001626/0.8586, allocations: 19.95 kB / 1.282 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8586, allocations: 0 / 1.282 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.025e-05/0.8587, allocations: 7.984 kB / 1.282 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.8588, allocations: 0 / 1.282 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003807/0.8592, allocations: 118.6 kB / 1.282 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.8595, allocations: 0.6767 MB / 1.282 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.058e-05/0.8595, allocations: 4.125 kB / 1.282 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.671e-05/0.8596, allocations: 7.438 kB / 1.282 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.8596, allocations: 0 / 1.282 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02998/0.8896, allocations: 0.969 MB / 1.283 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.09/8.98, allocations: 9.234 kB / 1.283 GB, free: 7.859 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegStep.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.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: 15.350090733962134]