Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001369/0.001369, allocations: 106.8 kB / 17.54 MB, free: 4.746 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.001405/0.001405, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.31/1.31, allocations: 225.6 MB / 249.3 MB, free: 3.34 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.49/2.49, allocations: 476.7 MB / 0.7628 GB, free: 15.21 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 67.89 kB / 1.107 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7835/0.7853, allocations: 168.7 MB / 1.271 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001472/0.7868, allocations: 0.6051 MB / 1.272 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.7879, allocations: 1.113 MB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.382e-05/0.7879, allocations: 0.75 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.132e-05/0.788, allocations: 0 / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002304/0.7882, allocations: 18.3 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.196e-06/0.7882, allocations: 4 kB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.764e-05/0.7882, allocations: 7.062 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.853e-05/0.7883, allocations: 5.547 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.296e-05/0.7883, allocations: 1.531 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.309e-05/0.7883, allocations: 5.328 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.913e-06/0.7883, allocations: 4.719 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.7884, allocations: 17.14 kB / 1.273 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.233e-06/0.7884, allocations: 4.797 kB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.639e-05/0.7885, allocations: 3.938 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 7.664e-05/0.7885, allocations: 19.42 kB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.7885, allocations: 4 kB / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.955e-06/0.7885, allocations: 1.031 kB / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.7885, allocations: 0.9062 kB / 1.273 GB, free: 6.508 MB / 0.9981 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.0002186/0.7888, allocations: 314 kB / 1.273 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.7888, allocations: 9.844 kB / 1.274 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.774e-05/0.7888, allocations: 36.28 kB / 1.274 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.341e-05/0.7889, allocations: 2.641 kB / 1.274 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.126e-05/0.7889, allocations: 161 kB / 1.274 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.7889, allocations: 1.094 kB / 1.274 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.7889, allocations: 2.625 kB / 1.274 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.705e-05/0.789, allocations: 40.19 kB / 1.274 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.789, allocations: 0.5625 kB / 1.274 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.782e-06/0.789, allocations: 4.812 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.789, allocations: 0.8125 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.028e-05/0.7891, allocations: 10 kB / 1.274 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001045/0.7892, allocations: 150.8 kB / 1.274 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.7894, allocations: 28.31 kB / 1.274 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.909e-05/0.7894, allocations: 20.5 kB / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/0.7895, allocations: 82.7 kB / 1.274 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.457e-05/0.7895, allocations: 36.06 kB / 1.274 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.713e-06/0.7895, allocations: 4.703 kB / 1.274 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.004065/0.7936, allocations: 0.5776 MB / 1.275 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.7936, allocations: 52.34 kB / 1.275 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.26e-05/0.7936, allocations: 97.8 kB / 1.275 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.7936, allocations: 25.7 kB / 1.275 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.748e-06/0.7936, allocations: 80.95 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.7937, allocations: 16.64 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-05/0.7937, allocations: 15.61 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.589e-05/0.7938, allocations: 319.8 kB / 1.275 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005709/0.7943, allocations: 89.55 kB / 1.275 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005867/0.7949, allocations: 102.3 kB / 1.275 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.796, allocations: 186.9 kB / 1.276 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.796, allocations: 4 kB / 1.276 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001179/0.7972, allocations: 219.1 kB / 1.276 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.7972, allocations: 5.594 kB / 1.276 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.7972, allocations: 1.094 kB / 1.276 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.7973, allocations: 4.688 kB / 1.276 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/0.7976, allocations: 51.33 kB / 1.276 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.7976, allocations: 0 / 1.276 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003301/0.798, allocations: 40.92 kB / 1.276 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.798, allocations: 2.656 kB / 1.276 GB, free: 4.609 MB / 0.9981 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.182e-05/0.798, allocations: 112.4 kB / 1.276 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.762e-05/0.798, allocations: 11.66 kB / 1.276 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.7993, allocations: 236.9 kB / 1.276 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.7993, allocations: 0.9375 kB / 1.276 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.7993, allocations: 0 / 1.276 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.7993, allocations: 1.484 kB / 1.276 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.8007, allocations: 459.5 kB / 1.277 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.8007, allocations: 0 / 1.277 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003649/0.801, allocations: 50.14 kB / 1.277 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.801, allocations: 0 / 1.277 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.801, allocations: 4.938 kB / 1.277 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.8011, allocations: 1.781 kB / 1.277 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8011, allocations: 3.938 kB / 1.277 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.8022, allocations: 309 kB / 1.277 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.351e-05/0.8022, allocations: 78.95 kB / 1.277 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.8023, allocations: 2.125 kB / 1.277 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/0.8026, allocations: 39.91 kB / 1.277 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.245e-05/0.8026, allocations: 4.906 kB / 1.277 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/0.8026, allocations: 1.656 kB / 1.277 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.156e-05/0.8027, allocations: 79.28 kB / 1.277 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/0.8027, allocations: 3.938 kB / 1.277 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000239/0.8029, allocations: 13.84 kB / 1.277 GB, free: 3.73 MB / 0.9981 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.001391/0.8043, allocations: 0.8426 MB / 1.278 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001205/0.8055, allocations: 178.6 kB / 1.278 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.8055, allocations: 1 kB / 1.278 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005755/0.8061, allocations: 88.61 kB / 1.278 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.8063, allocations: 7.625 kB / 1.278 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.8075, allocations: 253.9 kB / 1.279 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.625e-05/0.8076, allocations: 0.6757 MB / 1.279 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001549/0.8077, allocations: 29.03 kB / 1.279 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.971e-05/0.8078, allocations: 16.56 kB / 1.279 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of SimCode: time 4.51e-07/0.8078, allocations: 3.938 kB / 1.279 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/0.8303, allocations: 1.615 MB / 1.281 GB, free: 17.73 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.886/7.716, allocations: 11.17 kB / 1.281 GB, free: 17.73 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.052041019000171]