Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.001674/0.001674, allocations: 81.31 kB / 19.76 MB, free: 2.027 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.001991/0.001991, allocations: 159.2 kB / 23.01 MB, free: 4.945 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.542/1.542, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.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 2.925/2.925, allocations: 394.2 MB / 0.6387 GB, free: 11.94 MB / 0.6075 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.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [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.002107/0.002107, allocations: 71.88 kB / 1.009 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7874/0.7895, allocations: 181.8 MB / 1.187 GB, free: 16.16 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001697/0.7912, allocations: 0.6051 MB / 1.187 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.7923, allocations: 1.128 MB / 1.188 GB, free: 14.97 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.779e-05/0.7924, allocations: 0 / 1.188 GB, free: 14.97 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.69e-05/0.7924, allocations: 0 / 1.188 GB, free: 14.97 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002591/0.7926, allocations: 25.52 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 4.048e-06/0.7927, allocations: 0.7812 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 3.661e-05/0.7927, allocations: 2.5 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.794e-05/0.7927, allocations: 2.391 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.635e-05/0.7928, allocations: 5 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 2.367e-05/0.7928, allocations: 5.828 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 8.536e-06/0.7928, allocations: 0.8125 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.7929, allocations: 17.58 kB / 1.188 GB, free: 14.94 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.027e-06/0.7929, allocations: 5.062 kB / 1.188 GB, free: 14.93 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.131e-05/0.7929, allocations: 1.781 kB / 1.188 GB, free: 14.93 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 7.981e-05/0.793, allocations: 19.78 kB / 1.188 GB, free: 14.93 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.793, allocations: 0 / 1.188 GB, free: 14.93 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.124e-06/0.793, allocations: 0.8438 kB / 1.188 GB, free: 14.93 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.793, allocations: 0 / 1.188 GB, free: 14.93 MB / 1.076 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.0002324/0.7932, allocations: 247.3 kB / 1.189 GB, free: 14.67 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.7933, allocations: 8.531 kB / 1.189 GB, free: 14.67 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002616/0.7935, allocations: 14.86 kB / 1.189 GB, free: 14.67 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.059e-05/0.7936, allocations: 108.4 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-06/0.7936, allocations: 5.375 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.7936, allocations: 5.438 kB / 1.189 GB, free: 14.53 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.127e-05/0.7937, allocations: 40.19 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.7937, allocations: 0 / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.7937, allocations: 1.859 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.7937, allocations: 0 / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.743e-05/0.7938, allocations: 6.422 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.133e-05/0.7939, allocations: 101.9 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.794, allocations: 37.91 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.962e-05/0.794, allocations: 8.5 kB / 1.189 GB, free: 14.33 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.794, allocations: 4.844 kB / 1.189 GB, free: 14.33 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.098e-05/0.7941, allocations: 31.81 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.7941, allocations: 1.375 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of matching and sorting (n=5): time 0.004169/0.7982, allocations: 0.5441 MB / 1.19 GB, free: 14.2 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.003e-05/0.7982, allocations: 53.12 kB / 1.19 GB, free: 14.13 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.502e-05/0.7983, allocations: 91.3 kB / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.7983, allocations: 29.7 kB / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.708e-06/0.7983, allocations: 84.59 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.024e-05/0.7983, allocations: 15.89 kB / 1.19 GB, free: 13.9 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.963e-05/0.7984, allocations: 20.67 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.901e-05/0.7984, allocations: 313.2 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006328/0.799, allocations: 87.66 kB / 1.19 GB, free: 13.56 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006291/0.7997, allocations: 106.5 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.8009, allocations: 188 kB / 1.19 GB, free: 13.48 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.8009, allocations: 0 / 1.19 GB, free: 13.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001305/0.8022, allocations: 218.4 kB / 1.191 GB, free: 13.42 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.8022, allocations: 10.12 kB / 1.191 GB, free: 13.42 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.8022, allocations: 2.047 kB / 1.191 GB, free: 13.42 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.8023, allocations: 0 / 1.191 GB, free: 13.42 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004285/0.8027, allocations: 59.19 kB / 1.191 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.8027, allocations: 1.734 kB / 1.191 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003735/0.8031, allocations: 40.83 kB / 1.191 GB, free: 13.4 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.8031, allocations: 3.016 kB / 1.191 GB, free: 13.4 MB / 1.076 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 5.426e-05/0.8031, allocations: 109 kB / 1.191 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.893e-05/0.8032, allocations: 9.609 kB / 1.191 GB, free: 13.28 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.6e-05/0.8032, allocations: 12.91 kB / 1.191 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.8032, allocations: 1.984 kB / 1.191 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.8032, allocations: 4 kB / 1.191 GB, free: 13.26 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.8032, allocations: 0.8438 kB / 1.191 GB, free: 13.26 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/0.8047, allocations: 410.1 kB / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.8047, allocations: 0 / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004098/0.8051, allocations: 50.11 kB / 1.191 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.8051, allocations: 0.5156 kB / 1.191 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.8052, allocations: 1.672 kB / 1.191 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.8052, allocations: 1.828 kB / 1.191 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.8052, allocations: 0 / 1.191 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.8065, allocations: 304 kB / 1.192 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.201e-06/0.8065, allocations: 1.766 kB / 1.192 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.8065, allocations: 9.703 kB / 1.192 GB, free: 12.83 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004055/0.8069, allocations: 39.59 kB / 1.192 GB, free: 12.83 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.308e-05/0.8069, allocations: 7.703 kB / 1.192 GB, free: 12.82 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.8069, allocations: 2.062 kB / 1.192 GB, free: 12.82 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.057e-05/0.807, allocations: 77.3 kB / 1.192 GB, free: 12.75 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.807, allocations: 0 / 1.192 GB, free: 12.75 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002557/0.8072, allocations: 6.844 kB / 1.192 GB, free: 12.75 MB / 1.076 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.0001166/0.8073, allocations: 99 kB / 1.192 GB, free: 12.66 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001359/0.8087, allocations: 180.5 kB / 1.192 GB, free: 12.64 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8087, allocations: 4.188 kB / 1.192 GB, free: 12.63 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006382/0.8093, allocations: 84.88 kB / 1.192 GB, free: 12.63 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.8096, allocations: 14.06 kB / 1.192 GB, free: 12.62 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.8108, allocations: 218.5 kB / 1.192 GB, free: 12.5 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.637e-05/0.8108, allocations: 62.64 kB / 1.192 GB, free: 12.43 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001736/0.811, allocations: 30.03 kB / 1.192 GB, free: 12.4 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.318e-05/0.811, allocations: 13.27 kB / 1.192 GB, free: 12.39 MB / 1.076 GB Notification: Performance of SimCode: time 4.51e-07/0.811, allocations: 1.094 kB / 1.192 GB, free: 12.39 MB / 1.076 GB Notification: Performance of Templates: time 0.003249/0.8143, allocations: 0.7892 MB / 1.193 GB, free: 12.3 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.708131478051655]