Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001392/0.001392, allocations: 109 kB / 17.54 MB, free: 4.781 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.001381/0.001381, allocations: 189.9 kB / 20.71 MB, free: 1.625 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.323/1.323, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.379/2.379, allocations: 443.5 MB / 0.7304 GB, free: 13.94 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 71.89 kB / 1.059 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.275, allocations: 160.7 MB / 1.216 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001685/0.2767, allocations: 0.6041 MB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.2781, allocations: 1.108 MB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.795e-05/0.2781, allocations: 0 / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.05e-05/0.2781, allocations: 4 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002148/0.2784, allocations: 23.92 kB / 1.217 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.126e-06/0.2784, allocations: 0 / 1.217 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 3.849e-05/0.2784, allocations: 7.922 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.129e-05/0.2784, allocations: 4 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.391e-05/0.2785, allocations: 3.938 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.881e-05/0.2785, allocations: 0 / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.272e-06/0.2785, allocations: 0 / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.2786, allocations: 27.91 kB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.35e-06/0.2786, allocations: 4 kB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.192e-05/0.2786, allocations: 0 / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 6.911e-05/0.2787, allocations: 16.2 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2787, allocations: 0 / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2787, allocations: 0 / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.2787, allocations: 0 / 1.217 GB, free: 14.07 MB / 0.9669 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.0002952/0.279, allocations: 323.5 kB / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.279, allocations: 8.031 kB / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.302e-05/0.279, allocations: 30.75 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.751e-05/0.2791, allocations: 4.891 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.2792, allocations: 169.3 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.2792, allocations: 12.38 kB / 1.218 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.2792, allocations: 4.359 kB / 1.218 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.058e-05/0.2793, allocations: 37.77 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.2793, allocations: 0 / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-06/0.2793, allocations: 0 / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.2793, allocations: 0 / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.618e-05/0.2794, allocations: 11.98 kB / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001457/0.2795, allocations: 145.7 kB / 1.218 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.2797, allocations: 38.61 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.971e-05/0.2797, allocations: 8.797 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001399/0.2798, allocations: 85.19 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.2799, allocations: 42.5 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.2799, allocations: 0 / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.004026/0.2839, allocations: 0.564 MB / 1.219 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.2839, allocations: 59.41 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.037e-05/0.284, allocations: 93.8 kB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.284, allocations: 25.7 kB / 1.219 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.489e-05/0.284, allocations: 80.14 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.145e-05/0.2841, allocations: 23.73 kB / 1.219 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.337e-05/0.2841, allocations: 21.7 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.2843, allocations: 314.8 kB / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005792/0.2848, allocations: 83.95 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005799/0.2854, allocations: 106.5 kB / 1.22 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.2866, allocations: 190.4 kB / 1.22 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.2866, allocations: 0 / 1.22 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001213/0.2878, allocations: 217.5 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.2878, allocations: 4 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2878, allocations: 0 / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.2878, allocations: 4 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003794/0.2882, allocations: 48 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.2882, allocations: 0 / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003278/0.2885, allocations: 43.97 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.2885, allocations: 4 kB / 1.22 GB, free: 11.05 MB / 0.9669 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 9.107e-05/0.2886, allocations: 113.8 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.046e-05/0.2886, allocations: 11.94 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.29, allocations: 237.3 kB / 1.22 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.29, allocations: 3.984 kB / 1.22 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.29, allocations: 0 / 1.22 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.29, allocations: 0 / 1.22 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.2914, allocations: 462.3 kB / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.2914, allocations: 4 kB / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003631/0.2918, allocations: 47.97 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.2918, allocations: 0 / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.2918, allocations: 0 / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2918, allocations: 0 / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.2918, allocations: 4 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.2931, allocations: 311.3 kB / 1.221 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.2931, allocations: 77.11 kB / 1.221 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.2931, allocations: 4 kB / 1.221 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000361/0.2935, allocations: 39.97 kB / 1.221 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.388e-05/0.2935, allocations: 4 kB / 1.221 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.2935, allocations: 0 / 1.221 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.42e-05/0.2935, allocations: 75.28 kB / 1.221 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.2935, allocations: 0 / 1.221 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002401/0.2938, allocations: 19.94 kB / 1.221 GB, free: 9.551 MB / 0.9669 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.001649/0.2954, allocations: 0.8412 MB / 1.222 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00124/0.2967, allocations: 175.8 kB / 1.222 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2967, allocations: 0 / 1.222 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005731/0.2972, allocations: 96.33 kB / 1.222 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.2975, allocations: 0 / 1.222 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.2988, allocations: 264.2 kB / 1.223 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.2991, allocations: 0.6729 MB / 1.223 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001707/0.2993, allocations: 35.89 kB / 1.223 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.32e-05/0.2993, allocations: 11.44 kB / 1.223 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of SimCode: time 8.41e-07/0.2993, allocations: 0 / 1.223 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02506/0.3244, allocations: 1.606 MB / 1.225 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.917/7.242, allocations: 5.812 kB / 1.225 GB, free: 5.844 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_10_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 12.565810476000479]