Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001866/0.001866, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.002445/0.002445, allocations: 219.1 kB / 23.01 MB, free: 4.609 MB / 14.72 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 1.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.2/3.2, allocations: 0.505 GB / 0.8108 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 67.33 kB / 1.178 GB, free: 16.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3387, allocations: 180.2 MB / 1.354 GB, free: 7.926 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001669/0.3404, allocations: 0.5992 MB / 1.355 GB, free: 7.328 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001466/0.3418, allocations: 1.167 MB / 1.356 GB, free: 6.145 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.546e-05/0.3419, allocations: 0 / 1.356 GB, free: 6.145 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.243e-05/0.3419, allocations: 0 / 1.356 GB, free: 6.145 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.3421, allocations: 27.84 kB / 1.356 GB, free: 6.117 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 3.557e-06/0.3421, allocations: 0 / 1.356 GB, free: 6.117 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.022e-05/0.3422, allocations: 4 kB / 1.356 GB, free: 6.113 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.557e-05/0.3422, allocations: 4 kB / 1.356 GB, free: 6.109 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.673e-05/0.3422, allocations: 4 kB / 1.356 GB, free: 6.105 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 2.868e-05/0.3423, allocations: 11.91 kB / 1.356 GB, free: 6.094 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.284e-06/0.3423, allocations: 0 / 1.356 GB, free: 6.094 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.3424, allocations: 19.92 kB / 1.356 GB, free: 6.074 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.006e-05/0.3424, allocations: 4 kB / 1.356 GB, free: 6.07 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.289e-05/0.3424, allocations: 0 / 1.356 GB, free: 6.07 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 8.526e-05/0.3425, allocations: 23.84 kB / 1.356 GB, free: 6.047 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.3425, allocations: 0 / 1.356 GB, free: 6.047 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3425, allocations: 0 / 1.356 GB, free: 6.047 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3425, allocations: 7.938 kB / 1.356 GB, free: 6.039 MB / 1.045 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.0002943/0.3428, allocations: 242.4 kB / 1.356 GB, free: 5.773 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3428, allocations: 8.031 kB / 1.356 GB, free: 5.766 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002686/0.3431, allocations: 16.88 kB / 1.356 GB, free: 5.75 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.549e-05/0.3432, allocations: 106.5 kB / 1.356 GB, free: 5.621 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.3432, allocations: 384 / 1.356 GB, free: 5.621 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.3432, allocations: 4.375 kB / 1.356 GB, free: 5.617 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.3433, allocations: 41.94 kB / 1.356 GB, free: 5.57 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3433, allocations: 4 kB / 1.356 GB, free: 5.566 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.3433, allocations: 3.984 kB / 1.356 GB, free: 5.562 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3433, allocations: 0 / 1.356 GB, free: 5.562 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.757e-05/0.3434, allocations: 8 kB / 1.356 GB, free: 5.555 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001409/0.3435, allocations: 120.8 kB / 1.356 GB, free: 5.395 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.3437, allocations: 34.52 kB / 1.357 GB, free: 5.352 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.907e-05/0.3437, allocations: 16.94 kB / 1.357 GB, free: 5.332 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.3437, allocations: 4 kB / 1.357 GB, free: 5.328 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.3438, allocations: 34.5 kB / 1.357 GB, free: 5.285 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3438, allocations: 0 / 1.357 GB, free: 5.285 MB / 1.045 GB Notification: Performance of matching and sorting (n=5): time 0.003979/0.3477, allocations: 0.5442 MB / 1.357 GB, free: 4.734 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.3478, allocations: 51.41 kB / 1.357 GB, free: 4.672 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.886e-05/0.3478, allocations: 89.86 kB / 1.357 GB, free: 4.574 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.3479, allocations: 25.7 kB / 1.357 GB, free: 4.543 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.383e-05/0.3479, allocations: 80.14 kB / 1.357 GB, free: 4.461 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.152e-05/0.3479, allocations: 27.78 kB / 1.357 GB, free: 4.434 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.091e-05/0.348, allocations: 13.72 kB / 1.357 GB, free: 4.414 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.3481, allocations: 318.8 kB / 1.358 GB, free: 4.094 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006022/0.3487, allocations: 84.02 kB / 1.358 GB, free: 4.012 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006033/0.3493, allocations: 106.5 kB / 1.358 GB, free: 3.898 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.3505, allocations: 194.4 kB / 1.358 GB, free: 3.699 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3505, allocations: 0 / 1.358 GB, free: 3.699 MB / 1.045 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001211/0.3517, allocations: 217.5 kB / 1.358 GB, free: 3.48 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.3517, allocations: 5.875 kB / 1.358 GB, free: 3.477 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3517, allocations: 4 kB / 1.358 GB, free: 3.473 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3517, allocations: 4.031 kB / 1.358 GB, free: 3.469 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003932/0.3521, allocations: 47.97 kB / 1.358 GB, free: 3.422 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.3521, allocations: 7.938 kB / 1.358 GB, free: 3.414 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/0.3525, allocations: 35.98 kB / 1.358 GB, free: 3.379 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.3525, allocations: 4 kB / 1.358 GB, free: 3.375 MB / 1.045 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.0001047/0.3526, allocations: 129.6 kB / 1.358 GB, free: 3.238 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/0.3526, allocations: 3.938 kB / 1.358 GB, free: 3.234 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.827e-05/0.3527, allocations: 7.594 kB / 1.358 GB, free: 3.227 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.3527, allocations: 4 kB / 1.358 GB, free: 3.223 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3527, allocations: 0 / 1.358 GB, free: 3.223 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.3527, allocations: 0 / 1.358 GB, free: 3.223 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/0.3542, allocations: 429.5 kB / 1.359 GB, free: 2.754 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.3542, allocations: 3.938 kB / 1.359 GB, free: 2.75 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003932/0.3546, allocations: 51.97 kB / 1.359 GB, free: 2.699 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.3546, allocations: 0 / 1.359 GB, free: 2.699 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.3546, allocations: 4 kB / 1.359 GB, free: 2.695 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3546, allocations: 0 / 1.359 GB, free: 2.695 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3546, allocations: 0 / 1.359 GB, free: 2.695 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.3559, allocations: 303.6 kB / 1.359 GB, free: 2.383 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-06/0.3559, allocations: 8.047 kB / 1.359 GB, free: 2.375 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.3559, allocations: 8 kB / 1.359 GB, free: 2.367 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003796/0.3563, allocations: 35.98 kB / 1.359 GB, free: 2.332 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.787e-05/0.3563, allocations: 7.984 kB / 1.359 GB, free: 2.324 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.3563, allocations: 4 kB / 1.359 GB, free: 2.32 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.258e-05/0.3564, allocations: 75.28 kB / 1.359 GB, free: 2.246 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3564, allocations: 4 kB / 1.359 GB, free: 2.242 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000237/0.3566, allocations: 7.938 kB / 1.359 GB, free: 2.234 MB / 1.045 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.0001441/0.3568, allocations: 95.25 kB / 1.359 GB, free: 2.129 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001261/0.358, allocations: 187.9 kB / 1.36 GB, free: 1.945 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.358, allocations: 0 / 1.36 GB, free: 1.945 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005941/0.3586, allocations: 92.02 kB / 1.36 GB, free: 1.855 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.3588, allocations: 4 kB / 1.36 GB, free: 1.852 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.36, allocations: 242.5 kB / 1.36 GB, free: 1.582 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.3603, allocations: 0.6768 MB / 1.361 GB, free: 0.8789 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.3604, allocations: 11.44 kB / 1.361 GB, free: 0.8672 MB / 1.045 GB Notification: Performance of SimCode: time 3e-07/0.3604, allocations: 0 / 1.361 GB, free: 0.8672 MB / 1.045 GB Notification: Performance of Templates: time 0.002591/0.363, allocations: 1.092 MB / 1.362 GB, free: 15.78 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.003022444987437]