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.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.0008756/0.0008756, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0008618/0.0008618, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.8914/0.8914, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.705/1.705, allocations: 377.8 MB / 0.6228 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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: 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 1.743e-06/1.743e-06, allocations: 0 / 0.9823 GB, free: 2.012 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.507e-05/2.681e-05, allocations: 5.375 kB / 0.9823 GB, free: 2.008 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001169/0.001196, allocations: 0.5878 MB / 0.9828 GB, free: 1.422 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.002367, allocations: 1.132 MB / 0.9839 GB, free: 280 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.474e-05/0.002392, allocations: 0 / 0.9839 GB, free: 280 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.686e-05/0.002408, allocations: 3.938 kB / 0.9839 GB, free: 276 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.000221/0.002629, allocations: 19.92 kB / 0.984 GB, free: 256 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 4.298e-06/0.002634, allocations: 3.938 kB / 0.984 GB, free: 252 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 3.935e-05/0.002673, allocations: 3.984 kB / 0.984 GB, free: 248 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.024e-05/0.002713, allocations: 0 / 0.984 GB, free: 248 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 2.535e-05/0.002739, allocations: 8 kB / 0.984 GB, free: 240 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 2.042e-05/0.002759, allocations: 0 / 0.984 GB, free: 240 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 8.276e-06/0.002767, allocations: 3.938 kB / 0.984 GB, free: 236 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 8.886e-05/0.002856, allocations: 11.98 kB / 0.984 GB, free: 224 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.002869, allocations: 0 / 0.984 GB, free: 224 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.3e-05/0.002882, allocations: 0 / 0.984 GB, free: 224 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 8.504e-05/0.002967, allocations: 31.84 kB / 0.984 GB, free: 192 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.002969, allocations: 0 / 0.984 GB, free: 192 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.042e-06/0.00297, allocations: 0 / 0.984 GB, free: 192 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.002974, allocations: 0 / 0.984 GB, free: 192 kB / 0.9323 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.0002406/0.003215, allocations: 250.3 kB / 0.9843 GB, free: 15.91 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.00325, allocations: 8.031 kB / 0.9843 GB, free: 15.91 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.999e-05/0.00328, allocations: 0.9375 kB / 0.9843 GB, free: 15.91 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.83e-05/0.003338, allocations: 105.8 kB / 0.9844 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.003349, allocations: 4.375 kB / 0.9844 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.003374, allocations: 4.312 kB / 0.9844 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.95e-05/0.003464, allocations: 38.23 kB / 0.9844 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.003473, allocations: 4.188 kB / 0.9844 GB, free: 15.72 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.003483, allocations: 4.375 kB / 0.9844 GB, free: 15.72 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.003489, allocations: 3.938 kB / 0.9844 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.508e-05/0.003524, allocations: 7.984 kB / 0.9844 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001023/0.003626, allocations: 97.33 kB / 0.9845 GB, free: 15.58 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.003797, allocations: 38.55 kB / 0.9846 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.32e-05/0.003821, allocations: 8.859 kB / 0.9846 GB, free: 15.52 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.686e-05/0.003918, allocations: 4 kB / 0.9846 GB, free: 15.52 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.003935, allocations: 34.56 kB / 0.9846 GB, free: 15.48 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.003936, allocations: 0 / 0.9846 GB, free: 15.48 MB / 0.948 GB Notification: Performance of matching and sorting (n=5): time 0.001962/0.005898, allocations: 0.5716 MB / 0.9852 GB, free: 14.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.005927, allocations: 55.41 kB / 0.9852 GB, free: 14.83 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.737e-05/0.005964, allocations: 89.86 kB / 0.9853 GB, free: 14.73 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.005978, allocations: 29.69 kB / 0.9853 GB, free: 14.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 1.801e-05/0.005996, allocations: 80.14 kB / 0.9854 GB, free: 14.62 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.00603, allocations: 19.8 kB / 0.9854 GB, free: 14.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.006068, allocations: 17.72 kB / 0.9855 GB, free: 14.57 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.499e-05/0.006143, allocations: 318.8 kB / 0.9858 GB, free: 14.25 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/0.006399, allocations: 83.95 kB / 0.9858 GB, free: 14.17 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/0.00666, allocations: 102.5 kB / 0.9859 GB, free: 14.06 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005067/0.007167, allocations: 190.4 kB / 0.9861 GB, free: 13.87 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.007168, allocations: 0 / 0.9861 GB, free: 13.87 MB / 0.948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005464/0.007714, allocations: 217.6 kB / 0.9863 GB, free: 13.65 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.007726, allocations: 4 kB / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.007731, allocations: 0 / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.007748, allocations: 4 kB / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.007919, allocations: 51.94 kB / 0.9864 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.007926, allocations: 4 kB / 0.9864 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.008067, allocations: 39.92 kB / 0.9864 GB, free: 13.55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.008078, allocations: 4 kB / 0.9864 GB, free: 13.54 MB / 0.948 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 6.498e-05/0.008143, allocations: 117.8 kB / 0.9865 GB, free: 13.42 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/0.008154, allocations: 7.938 kB / 0.9865 GB, free: 13.41 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006658/0.008819, allocations: 233.2 kB / 0.9868 GB, free: 13.18 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.008822, allocations: 0 / 0.9868 GB, free: 13.18 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.008828, allocations: 8.188 kB / 0.9868 GB, free: 13.17 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.008831, allocations: 0 / 0.9868 GB, free: 13.17 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007163/0.009547, allocations: 410 kB / 0.9872 GB, free: 12.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.009549, allocations: 0 / 0.9872 GB, free: 12.73 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.009706, allocations: 47.97 kB / 0.9872 GB, free: 12.69 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.009709, allocations: 3.938 kB / 0.9872 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.009719, allocations: 0 / 0.9872 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.009722, allocations: 8 kB / 0.9872 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.009723, allocations: 0 / 0.9872 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005525/0.01028, allocations: 303.8 kB / 0.9875 GB, free: 12.36 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.278e-06/0.01028, allocations: 0 / 0.9875 GB, free: 12.36 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.0103, allocations: 3.938 kB / 0.9875 GB, free: 12.36 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.01045, allocations: 47.97 kB / 0.9876 GB, free: 12.31 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.255e-05/0.01046, allocations: 0 / 0.9876 GB, free: 12.31 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.01047, allocations: 7.984 kB / 0.9876 GB, free: 12.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.871e-05/0.01049, allocations: 75.28 kB / 0.9876 GB, free: 12.23 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01049, allocations: 0 / 0.9876 GB, free: 12.23 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001664/0.01066, allocations: 8 kB / 0.9877 GB, free: 12.22 MB / 0.948 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.0001284/0.01078, allocations: 111.2 kB / 0.9878 GB, free: 12.11 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005603/0.01134, allocations: 179.9 kB / 0.9879 GB, free: 11.93 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01135, allocations: 0 / 0.9879 GB, free: 11.93 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002596/0.01161, allocations: 88.08 kB / 0.988 GB, free: 11.84 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.01176, allocations: 6.562 kB / 0.988 GB, free: 11.84 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005898/0.01235, allocations: 242.6 kB / 0.9882 GB, free: 11.57 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.379e-05/0.01239, allocations: 63.22 kB / 0.9883 GB, free: 11.49 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.01255, allocations: 16.48 kB / 0.9883 GB, free: 11.47 MB / 0.948 GB Notification: Performance of SimCode: time 2.71e-07/0.01255, allocations: 0 / 0.9883 GB, free: 11.47 MB / 0.948 GB Notification: Performance of Templates: time 0.00194/0.01449, allocations: 1.119 MB / 0.9894 GB, free: 10.36 MB / 0.948 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: 6.488832113333046]