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.001355/0.001355, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001562/0.001562, allocations: 215.6 kB / 23.01 MB, free: 4.609 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.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] 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 3.178/3.178, allocations: 0.505 GB / 0.8108 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep") [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.00211/0.00211, allocations: 75.92 kB / 1.178 GB, free: 16.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3184, allocations: 180.2 MB / 1.354 GB, free: 7.938 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001711/0.3201, allocations: 0.5875 MB / 1.355 GB, free: 7.352 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002995/0.3204, allocations: 56.17 kB / 1.355 GB, free: 7.297 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.449e-05/0.3204, allocations: 0 / 1.355 GB, free: 7.297 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.399e-05/0.3204, allocations: 0 / 1.355 GB, free: 7.297 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.587e-06/0.3204, allocations: 0 / 1.355 GB, free: 7.297 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.3207, allocations: 19.94 kB / 1.355 GB, free: 7.277 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 4.639e-05/0.3208, allocations: 7.984 kB / 1.355 GB, free: 7.27 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.742e-05/0.3208, allocations: 0 / 1.355 GB, free: 7.27 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.195e-05/0.3208, allocations: 0 / 1.355 GB, free: 7.27 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 2.342e-05/0.3208, allocations: 4 kB / 1.355 GB, free: 7.266 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.3208, allocations: 0 / 1.355 GB, free: 7.266 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.3209, allocations: 23.92 kB / 1.355 GB, free: 7.242 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.388e-06/0.321, allocations: 0 / 1.355 GB, free: 7.242 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.889e-05/0.321, allocations: 7.984 kB / 1.355 GB, free: 7.234 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 8.113e-05/0.3211, allocations: 7.984 kB / 1.355 GB, free: 7.227 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3211, allocations: 0 / 1.355 GB, free: 7.227 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3211, allocations: 0 / 1.355 GB, free: 7.227 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.3211, allocations: 7.984 kB / 1.355 GB, free: 7.219 MB / 1.045 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.0002943/0.3214, allocations: 246.4 kB / 1.355 GB, free: 6.945 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.3214, allocations: 15.97 kB / 1.355 GB, free: 6.93 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002482/0.3216, allocations: 16.91 kB / 1.355 GB, free: 6.914 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.306e-05/0.3217, allocations: 102.5 kB / 1.355 GB, free: 6.789 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.3217, allocations: 384 / 1.355 GB, free: 6.789 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.3218, allocations: 4.375 kB / 1.355 GB, free: 6.785 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.3219, allocations: 42.23 kB / 1.355 GB, free: 6.738 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3219, allocations: 192 / 1.355 GB, free: 6.738 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.3219, allocations: 3.938 kB / 1.355 GB, free: 6.734 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3219, allocations: 0 / 1.355 GB, free: 6.734 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.548e-05/0.322, allocations: 11.98 kB / 1.355 GB, free: 6.723 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001418/0.3221, allocations: 116.8 kB / 1.355 GB, free: 6.566 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.043e-05/0.3222, allocations: 30.53 kB / 1.355 GB, free: 6.527 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.82e-05/0.3223, allocations: 4.859 kB / 1.355 GB, free: 6.52 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.3223, allocations: 4.062 kB / 1.355 GB, free: 6.516 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.3223, allocations: 34.56 kB / 1.355 GB, free: 6.473 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.3223, allocations: 0 / 1.355 GB, free: 6.473 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0002335/0.3226, allocations: 49.61 kB / 1.355 GB, free: 6.418 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.3226, allocations: 59.47 kB / 1.356 GB, free: 6.348 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.359e-05/0.3226, allocations: 89.86 kB / 1.356 GB, free: 6.25 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.3227, allocations: 25.7 kB / 1.356 GB, free: 6.219 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.137e-05/0.3227, allocations: 80.14 kB / 1.356 GB, free: 6.137 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.3227, allocations: 3.953 kB / 1.356 GB, free: 6.133 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.3228, allocations: 17.72 kB / 1.356 GB, free: 6.109 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.3229, allocations: 314.8 kB / 1.356 GB, free: 5.793 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.703e-05/0.3229, allocations: 4 kB / 1.356 GB, free: 5.789 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.632e-05/0.323, allocations: 7.984 kB / 1.356 GB, free: 5.781 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.718e-05/0.3231, allocations: 16.84 kB / 1.356 GB, free: 5.762 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3231, allocations: 0 / 1.356 GB, free: 5.762 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001171/0.3232, allocations: 41.69 kB / 1.356 GB, free: 5.715 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.3232, allocations: 7.938 kB / 1.356 GB, free: 5.707 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.3232, allocations: 4 kB / 1.356 GB, free: 5.703 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.3232, allocations: 8.031 kB / 1.356 GB, free: 5.695 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.694e-05/0.3233, allocations: 4 kB / 1.356 GB, free: 5.691 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.3233, allocations: 0 / 1.356 GB, free: 5.691 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.427e-05/0.3233, allocations: 7.922 kB / 1.356 GB, free: 5.684 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.3233, allocations: 3.984 kB / 1.356 GB, free: 5.68 MB / 1.045 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 7.783e-05/0.3234, allocations: 118.4 kB / 1.356 GB, free: 5.555 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.023e-06/0.3234, allocations: 0 / 1.356 GB, free: 5.555 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.115e-05/0.3234, allocations: 6.938 kB / 1.356 GB, free: 5.547 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.3234, allocations: 4 kB / 1.356 GB, free: 5.543 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3234, allocations: 0 / 1.356 GB, free: 5.543 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.3234, allocations: 3.984 kB / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.84e-05/0.3235, allocations: 120.8 kB / 1.356 GB, free: 5.379 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.3235, allocations: 0 / 1.356 GB, free: 5.379 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.431e-05/0.3236, allocations: 4 kB / 1.356 GB, free: 5.375 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3236, allocations: 0 / 1.356 GB, free: 5.375 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.3236, allocations: 3.938 kB / 1.356 GB, free: 5.371 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3236, allocations: 0 / 1.356 GB, free: 5.371 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3236, allocations: 3.984 kB / 1.356 GB, free: 5.367 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.3237, allocations: 73.06 kB / 1.356 GB, free: 5.277 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-06/0.3238, allocations: 3.938 kB / 1.356 GB, free: 5.273 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.3238, allocations: 3.938 kB / 1.356 GB, free: 5.27 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.021e-05/0.3238, allocations: 0 / 1.356 GB, free: 5.27 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.967e-05/0.3238, allocations: 7.984 kB / 1.356 GB, free: 5.262 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.3238, allocations: 0 / 1.356 GB, free: 5.262 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.568e-05/0.3239, allocations: 79.31 kB / 1.357 GB, free: 5.184 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3239, allocations: 0 / 1.357 GB, free: 5.184 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001765/0.324, allocations: 0 / 1.357 GB, free: 5.184 MB / 1.045 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.0001258/0.3242, allocations: 91.25 kB / 1.357 GB, free: 5.082 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001378/0.3243, allocations: 15.98 kB / 1.357 GB, free: 5.066 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3243, allocations: 0 / 1.357 GB, free: 5.066 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.755e-05/0.3243, allocations: 16.05 kB / 1.357 GB, free: 5.051 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.3245, allocations: 3.938 kB / 1.357 GB, free: 5.047 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/0.3247, allocations: 110.6 kB / 1.357 GB, free: 4.906 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.325, allocations: 0.669 MB / 1.357 GB, free: 4.211 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.3251, allocations: 11.44 kB / 1.357 GB, free: 4.203 MB / 1.045 GB Notification: Performance of SimCode: time 3.11e-07/0.3251, allocations: 0 / 1.357 GB, free: 4.203 MB / 1.045 GB Notification: Performance of Templates: time 0.001735/0.3268, allocations: 394.9 kB / 1.358 GB, free: 3.82 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 800] 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/jenkins1/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.78452142002061]