Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008295/0.0008295, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008778/0.0008778, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8839/0.8839, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.769/1.769, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.785e-05/1.934e-05, allocations: 8.891 kB / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001116/0.001135, allocations: 0.5877 MB / 1 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000203/0.001338, allocations: 43.83 kB / 1 GB, free: 12.81 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.49e-05/0.001353, allocations: 3.938 kB / 1 GB, free: 12.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.425e-05/0.001367, allocations: 0 / 1 GB, free: 12.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.463e-06/0.001374, allocations: 0 / 1 GB, free: 12.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.001597, allocations: 19.91 kB / 1 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 3.97e-05/0.001637, allocations: 0 / 1 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.001676, allocations: 7.984 kB / 1 GB, free: 12.78 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.208e-05/0.001698, allocations: 0 / 1 GB, free: 12.78 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 1.988e-05/0.001718, allocations: 4 kB / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.001735, allocations: 0 / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.515e-05/0.00182, allocations: 15.98 kB / 1 GB, free: 12.76 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.164e-05/0.001832, allocations: 4 kB / 1 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.231e-05/0.001844, allocations: 4 kB / 1 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 7.784e-05/0.001922, allocations: 23.89 kB / 1 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.001923, allocations: 0 / 1 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.61e-07/0.001924, allocations: 3.938 kB / 1 GB, free: 12.72 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.001928, allocations: 4 kB / 1 GB, free: 12.72 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.0001951/0.002123, allocations: 234.5 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.002158, allocations: 8.75 kB / 1.001 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.543e-05/0.002184, allocations: 34.73 kB / 1.001 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.002351, allocations: 16.91 kB / 1.001 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.959e-05/0.002401, allocations: 109.8 kB / 1.001 GB, free: 12.26 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.002411, allocations: 4.359 kB / 1.001 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.063e-06/0.002419, allocations: 384 / 1.001 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.142e-05/0.00251, allocations: 38.19 kB / 1.001 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.002516, allocations: 4.188 kB / 1.001 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.772e-06/0.002523, allocations: 384 / 1.001 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.00253, allocations: 8.125 kB / 1.001 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.497e-05/0.002575, allocations: 11.98 kB / 1.001 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.897e-05/0.002674, allocations: 112.8 kB / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.161e-05/0.002725, allocations: 22.59 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.822e-05/0.002753, allocations: 12.92 kB / 1.001 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.002771, allocations: 0 / 1.001 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.002791, allocations: 46.48 kB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 5.51e-07/0.002792, allocations: 0 / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001501/0.002942, allocations: 37.69 kB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.002969, allocations: 59.34 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.293e-05/0.002992, allocations: 89.86 kB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/0.003001, allocations: 25.7 kB / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.708e-05/0.003018, allocations: 80.14 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.003043, allocations: 11.92 kB / 1.001 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.44e-05/0.003068, allocations: 13.72 kB / 1.001 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.948e-05/0.003137, allocations: 315 kB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.508e-05/0.003162, allocations: 7.938 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.995e-05/0.003182, allocations: 7.984 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.791e-05/0.00323, allocations: 16.78 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.003232, allocations: 0 / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.427e-05/0.003296, allocations: 49.64 kB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.003309, allocations: 8.094 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.003313, allocations: 0 / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.003322, allocations: 3.938 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.719e-05/0.003369, allocations: 7.984 kB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.003375, allocations: 3.938 kB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.432e-05/0.00339, allocations: 0 / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-06/0.003397, allocations: 7.984 kB / 1.002 GB, free: 11.14 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.437e-05/0.003441, allocations: 105.8 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-06/0.003445, allocations: 0 / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.577e-05/0.00347, allocations: 7 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.003473, allocations: 3.984 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.003478, allocations: 3.938 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.00348, allocations: 4 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.967e-05/0.003529, allocations: 112.8 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-07/0.00353, allocations: 3.938 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.638e-05/0.003546, allocations: 4 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.003548, allocations: 3.984 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/0.003553, allocations: 0 / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.003554, allocations: 0 / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.003555, allocations: 3.938 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.119e-05/0.003636, allocations: 69.12 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.845e-06/0.003639, allocations: 0 / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.434e-06/0.003647, allocations: 0 / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.25e-05/0.003659, allocations: 7.984 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.109e-05/0.00367, allocations: 7.938 kB / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.003672, allocations: 0 / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 1.738e-05/0.003689, allocations: 75.28 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.003689, allocations: 0 / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001214/0.003811, allocations: 4 kB / 1.002 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.0002249/0.004036, allocations: 0.6007 MB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.353e-05/0.004119, allocations: 11.98 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.00412, allocations: 0 / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.803e-05/0.004138, allocations: 4 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001031/0.004242, allocations: 10.17 kB / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002362/0.004478, allocations: 118.8 kB / 1.003 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.729e-05/0.004505, allocations: 55.36 kB / 1.003 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.699e-05/0.004532, allocations: 7.922 kB / 1.003 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.266e-05/0.004555, allocations: 8.5 kB / 1.003 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of SimCode: time 3.6e-07/0.004555, allocations: 3.938 kB / 1.003 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01301/0.01757, allocations: 1.589 MB / 1.005 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.03/7.048, allocations: 3.938 kB / 1.005 GB, free: 8.293 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegStep.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.98721013776958]