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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00614/0.00614, allocations: 100.6 kB / 15.73 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00129/0.001291, allocations: 189.7 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.603/2.603, allocations: 437 MB / 0.7105 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 59.91 kB / 1.018 GB, free: 9.84 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7523/0.7542, allocations: 151.6 MB / 1.166 GB, free: 3.715 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001782/0.756, allocations: 0.5922 MB / 1.167 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.7577, allocations: 1.112 MB / 1.168 GB, free: 2 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.818e-05/0.7578, allocations: 0 / 1.168 GB, free: 2 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.548e-05/0.7578, allocations: 0 / 1.168 GB, free: 2 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002304/0.758, allocations: 23.92 kB / 1.168 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 3.837e-06/0.7581, allocations: 0 / 1.168 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.387e-05/0.7581, allocations: 4 kB / 1.168 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.231e-05/0.7582, allocations: 4 kB / 1.168 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.532e-05/0.7582, allocations: 3.984 kB / 1.168 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.457e-05/0.7582, allocations: 7.984 kB / 1.168 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.715e-06/0.7582, allocations: 0 / 1.168 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.7583, allocations: 19.92 kB / 1.168 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.245e-06/0.7583, allocations: 3.938 kB / 1.168 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.159e-05/0.7584, allocations: 0 / 1.168 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.117e-05/0.7585, allocations: 15.97 kB / 1.168 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.7585, allocations: 4 kB / 1.168 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7585, allocations: 0 / 1.168 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.7585, allocations: 4 kB / 1.168 GB, free: 1.91 MB / 0.8887 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.0003411/0.7588, allocations: 315.2 kB / 1.168 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.7589, allocations: 12.86 kB / 1.168 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.665e-05/0.7589, allocations: 30.75 kB / 1.168 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.836e-05/0.7589, allocations: 8.891 kB / 1.168 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.7591, allocations: 164.4 kB / 1.168 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.7591, allocations: 384 / 1.168 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.7591, allocations: 8.312 kB / 1.168 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.762e-05/0.7592, allocations: 37.81 kB / 1.168 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.7592, allocations: 0 / 1.168 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.7592, allocations: 0 / 1.168 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.7592, allocations: 4 kB / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.085e-05/0.7593, allocations: 8 kB / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00017/0.7595, allocations: 153.6 kB / 1.169 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.7596, allocations: 38.61 kB / 1.169 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.369e-05/0.7597, allocations: 12.86 kB / 1.169 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001477/0.7598, allocations: 81.2 kB / 1.169 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.7599, allocations: 38.48 kB / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.7599, allocations: 3.938 kB / 1.169 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5): time 0.004149/0.764, allocations: 0.5716 MB / 1.169 GB, free: 256 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.7641, allocations: 59.41 kB / 1.169 GB, free: 184 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.841e-05/0.7642, allocations: 89.86 kB / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.7642, allocations: 25.7 kB / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.856e-05/0.7642, allocations: 80.14 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.546e-05/0.7643, allocations: 15.86 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.626e-05/0.7644, allocations: 21.7 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.7645, allocations: 314.8 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000614/0.7651, allocations: 87.89 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006802/0.7658, allocations: 102.5 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.7671, allocations: 182.5 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.7671, allocations: 4 kB / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001301/0.7684, allocations: 217.5 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.7684, allocations: 8 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.7685, allocations: 0 / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.7685, allocations: 3.938 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004127/0.7689, allocations: 52 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.7689, allocations: 0 / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003576/0.7693, allocations: 43.97 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.7693, allocations: 0 / 1.171 GB, free: 14.9 MB / 0.9044 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.874e-05/0.7694, allocations: 113.8 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.877e-05/0.7694, allocations: 7.938 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/0.7708, allocations: 233 kB / 1.171 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.7709, allocations: 4 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.7709, allocations: 3.938 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.7709, allocations: 0 / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/0.7725, allocations: 462.4 kB / 1.171 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.7725, allocations: 0 / 1.171 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003942/0.7729, allocations: 52.22 kB / 1.171 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.7729, allocations: 4 kB / 1.171 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.7729, allocations: 7.984 kB / 1.171 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.7729, allocations: 4 kB / 1.171 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.7729, allocations: 0 / 1.171 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.7743, allocations: 307.4 kB / 1.172 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.322e-05/0.7744, allocations: 77.11 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.7744, allocations: 0 / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003971/0.7748, allocations: 39.98 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.349e-05/0.7749, allocations: 3.984 kB / 1.172 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.7749, allocations: 4 kB / 1.172 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.24e-05/0.7749, allocations: 79.28 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7749, allocations: 0 / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002538/0.7752, allocations: 15.88 kB / 1.172 GB, free: 13.39 MB / 0.9044 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.001744/0.7769, allocations: 0.8412 MB / 1.173 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001278/0.7782, allocations: 183.9 kB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.7782, allocations: 4 kB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0006218/0.7789, allocations: 88.08 kB / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.7791, allocations: 4.562 kB / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.7804, allocations: 238.5 kB / 1.173 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.7808, allocations: 0.6768 MB / 1.174 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001925/0.781, allocations: 31.98 kB / 1.174 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.668e-05/0.7811, allocations: 16.92 kB / 1.174 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of SimCode: time 4.71e-07/0.7811, allocations: 4 kB / 1.174 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.8038, allocations: 1.647 MB / 1.176 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.043/8.847, allocations: 11.27 kB / 1.176 GB, free: 9.719 MB / 0.9044 GB (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 50 --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) 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) Reference file matches