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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 198.2 kB / 16.79 MB, free: 6.809 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.358/1.358, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.589/2.589, allocations: 437 MB / 0.7106 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 67.89 kB / 0.8692 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5726/0.574, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001854/0.5759, allocations: 0.6557 MB / 1.018 GB, free: 2.152 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.5773, allocations: 1.104 MB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.298e-05/0.5774, allocations: 4 kB / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.547e-05/0.5774, allocations: 0 / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002037/0.5776, allocations: 19.91 kB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 2.655e-06/0.5776, allocations: 0 / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.624e-05/0.5777, allocations: 4 kB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.082e-05/0.5777, allocations: 0 / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.275e-05/0.5777, allocations: 0 / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.149e-05/0.5778, allocations: 4 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 7.895e-06/0.5778, allocations: 0 / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.5779, allocations: 27.91 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.872e-06/0.5779, allocations: 0 / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.479e-05/0.5779, allocations: 7.938 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.34e-05/0.578, allocations: 11.98 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.578, allocations: 0 / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.51e-07/0.578, allocations: 0 / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.578, allocations: 0 / 1.019 GB, free: 0.9531 MB / 0.7637 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.0002887/0.5783, allocations: 315.6 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.5784, allocations: 8.031 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.008e-05/0.5784, allocations: 0.9375 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.5785, allocations: 168.4 kB / 1.02 GB, free: 396 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.834e-06/0.5785, allocations: 384 / 1.02 GB, free: 396 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.5786, allocations: 4.375 kB / 1.02 GB, free: 392 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.538e-05/0.5787, allocations: 45.92 kB / 1.02 GB, free: 340 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.5787, allocations: 0 / 1.02 GB, free: 340 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.5787, allocations: 0 / 1.02 GB, free: 340 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.5787, allocations: 0 / 1.02 GB, free: 340 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.653e-05/0.5787, allocations: 8 kB / 1.02 GB, free: 332 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001407/0.5789, allocations: 153.6 kB / 1.02 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.5791, allocations: 38.61 kB / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.392e-05/0.5791, allocations: 16.8 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001566/0.5793, allocations: 81.19 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.5793, allocations: 38.5 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 2.435e-06/0.5793, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.004337/0.5836, allocations: 0.5733 MB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.5837, allocations: 55.41 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.652e-05/0.5837, allocations: 89.86 kB / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.5838, allocations: 25.7 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.183e-05/0.5838, allocations: 80.14 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.816e-05/0.5839, allocations: 23.73 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-05/0.5839, allocations: 17.7 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.584, allocations: 314.8 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000613/0.5847, allocations: 83.95 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000604/0.5853, allocations: 102.5 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.5865, allocations: 186.4 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.5865, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001252/0.5877, allocations: 221.5 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.5878, allocations: 8 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.5878, allocations: 0 / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.5878, allocations: 0 / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004239/0.5882, allocations: 52.19 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.5883, allocations: 3.984 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000348/0.5886, allocations: 47.97 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.5886, allocations: 0 / 1.022 GB, free: 13.98 MB / 0.7794 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 0.0001011/0.5887, allocations: 118.3 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.5888, allocations: 3.938 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/0.5901, allocations: 233.1 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.5901, allocations: 4 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5902, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.5902, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/0.5916, allocations: 458.3 kB / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5917, allocations: 4 kB / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003923/0.5921, allocations: 43.97 kB / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.5921, allocations: 4 kB / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.5921, allocations: 11.98 kB / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.5921, allocations: 0 / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5921, allocations: 0 / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.5934, allocations: 307.8 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.199e-05/0.5934, allocations: 77.11 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.5935, allocations: 0 / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003684/0.5939, allocations: 47.86 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.856e-05/0.5939, allocations: 7.969 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.5939, allocations: 8 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.873e-05/0.5939, allocations: 75.28 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5939, allocations: 0 / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002576/0.5942, allocations: 16 kB / 1.023 GB, free: 12.48 MB / 0.7794 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.0001721/0.5944, allocations: 103.2 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001241/0.5956, allocations: 183.8 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5956, allocations: 192 / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005957/0.5962, allocations: 92.14 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.5965, allocations: 0 / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.5976, allocations: 244.5 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.5979, allocations: 0.677 MB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.478e-05/0.598, allocations: 15.44 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.598, allocations: 0 / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of Templates: time 0.002542/0.6005, allocations: 1.089 MB / 1.025 GB, free: 10.03 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (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 & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/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