Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001988/0.001988, allocations: 113.9 kB / 18.94 MB, free: 2.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002349/0.002349, allocations: 190.2 kB / 22.23 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.186/3.186, allocations: 496 MB / 0.7835 GB, free: 33.68 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002837/0.002837, allocations: 68.89 kB / 1.138 GB, free: 33.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3815, allocations: 173.6 MB / 1.307 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001868/0.3833, allocations: 0.6036 MB / 1.308 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001553/0.3849, allocations: 1.124 MB / 1.309 GB, free: 28 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.944e-05/0.3849, allocations: 4 kB / 1.309 GB, free: 24 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.374e-05/0.3849, allocations: 0 / 1.309 GB, free: 24 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.3852, allocations: 15.92 kB / 1.309 GB, free: 8 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.707e-06/0.3852, allocations: 0 / 1.309 GB, free: 8 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 3.753e-05/0.3853, allocations: 0 / 1.309 GB, free: 8 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.32e-05/0.3853, allocations: 7.938 kB / 1.309 GB, free: 0 / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.71e-05/0.3853, allocations: 12.03 kB / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.102e-05/0.3853, allocations: 0 / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.903e-06/0.3853, allocations: 0 / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.3855, allocations: 19.97 kB / 1.309 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.682e-06/0.3855, allocations: 4 kB / 1.309 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.636e-05/0.3855, allocations: 11.77 kB / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 8.137e-05/0.3856, allocations: 19.91 kB / 1.309 GB, free: 15.93 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3856, allocations: 0 / 1.309 GB, free: 15.93 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3856, allocations: 0 / 1.309 GB, free: 15.93 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.3856, allocations: 0 / 1.309 GB, free: 15.93 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002949/0.3859, allocations: 234.4 kB / 1.309 GB, free: 15.68 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3859, allocations: 12.03 kB / 1.309 GB, free: 15.66 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.3859, allocations: 0.9375 kB / 1.309 GB, free: 15.66 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.716e-05/0.386, allocations: 110.5 kB / 1.309 GB, free: 15.53 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.386, allocations: 8.375 kB / 1.309 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.3861, allocations: 384 / 1.309 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.3862, allocations: 37.95 kB / 1.309 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3862, allocations: 0 / 1.309 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3862, allocations: 0 / 1.309 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3862, allocations: 0 / 1.309 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.147e-05/0.3862, allocations: 15.92 kB / 1.309 GB, free: 15.46 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/0.3864, allocations: 124.8 kB / 1.31 GB, free: 15.3 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.3866, allocations: 34.56 kB / 1.31 GB, free: 15.26 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.518e-05/0.3867, allocations: 12.86 kB / 1.31 GB, free: 15.24 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001143/0.3868, allocations: 4.078 kB / 1.31 GB, free: 15.24 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.3868, allocations: 38.5 kB / 1.31 GB, free: 15.19 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.3868, allocations: 3.938 kB / 1.31 GB, free: 15.19 MB / 1.014 GB Notification: Performance of matching and sorting (n=5): time 0.00451/0.3913, allocations: 0.5676 MB / 1.31 GB, free: 14.61 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.3914, allocations: 55.41 kB / 1.31 GB, free: 14.55 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.859e-05/0.3914, allocations: 93.8 kB / 1.31 GB, free: 14.45 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.3915, allocations: 25.7 kB / 1.31 GB, free: 14.41 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.316e-05/0.3915, allocations: 84.14 kB / 1.311 GB, free: 14.33 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.907e-05/0.3916, allocations: 19.83 kB / 1.311 GB, free: 14.31 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.453e-05/0.3917, allocations: 13.72 kB / 1.311 GB, free: 14.29 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002071/0.3919, allocations: 314.8 kB / 1.311 GB, free: 13.97 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006813/0.3925, allocations: 83.95 kB / 1.311 GB, free: 13.89 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006483/0.3932, allocations: 110.7 kB / 1.311 GB, free: 13.77 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.3945, allocations: 190.4 kB / 1.311 GB, free: 13.58 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.3945, allocations: 4 kB / 1.311 GB, free: 13.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00135/0.3959, allocations: 213.5 kB / 1.311 GB, free: 13.36 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.3959, allocations: 4 kB / 1.311 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.3959, allocations: 4 kB / 1.311 GB, free: 13.35 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.3959, allocations: 0 / 1.311 GB, free: 13.35 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004276/0.3964, allocations: 48 kB / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.3964, allocations: 7.984 kB / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00036/0.3967, allocations: 35.98 kB / 1.312 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.3968, allocations: 4 kB / 1.312 GB, free: 13.26 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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 0.0001242/0.3969, allocations: 117.8 kB / 1.312 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.3969, allocations: 7.938 kB / 1.312 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/0.3983, allocations: 237.1 kB / 1.312 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3983, allocations: 0 / 1.312 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3983, allocations: 0 / 1.312 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.3983, allocations: 4 kB / 1.312 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.4001, allocations: 437.4 kB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4001, allocations: 0 / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004096/0.4005, allocations: 47.97 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.4005, allocations: 0 / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.4006, allocations: 8 kB / 1.312 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.4006, allocations: 3.938 kB / 1.312 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4006, allocations: 0 / 1.312 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.402, allocations: 303.4 kB / 1.313 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.109e-05/0.402, allocations: 4 kB / 1.313 GB, free: 12.03 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.294e-05/0.402, allocations: 4.125 kB / 1.313 GB, free: 12.03 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003911/0.4024, allocations: 47.97 kB / 1.313 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.561e-05/0.4024, allocations: 0 / 1.313 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.4025, allocations: 4 kB / 1.313 GB, free: 11.98 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.911e-05/0.4025, allocations: 75.28 kB / 1.313 GB, free: 11.9 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.4025, allocations: 7.938 kB / 1.313 GB, free: 11.89 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000258/0.4028, allocations: 8 kB / 1.313 GB, free: 11.89 MB / 1.014 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 (5): * Single equations (assignments): 5 * 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.0002982/0.4031, allocations: 108 kB / 1.313 GB, free: 11.77 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001337/0.4044, allocations: 183.9 kB / 1.313 GB, free: 11.59 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4044, allocations: 0 / 1.313 GB, free: 11.59 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006391/0.405, allocations: 96.02 kB / 1.313 GB, free: 11.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.4053, allocations: 0 / 1.313 GB, free: 11.5 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.4066, allocations: 216.8 kB / 1.313 GB, free: 11.26 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.407, allocations: 0.6768 MB / 1.314 GB, free: 10.55 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001964/0.4072, allocations: 27.98 kB / 1.314 GB, free: 10.53 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.954e-05/0.4073, allocations: 15.42 kB / 1.314 GB, free: 10.51 MB / 1.014 GB Notification: Performance of SimCode: time 8.72e-07/0.4073, allocations: 0 / 1.314 GB, free: 10.51 MB / 1.014 GB Notification: Performance of Templates: time 0.003491/0.4108, allocations: 0.831 MB / 1.315 GB, free: 9.68 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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: 8.986826566047966]