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) 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 11.1.0-maint.11.x/package.mo", uses=false) 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: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_11_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_11_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.00162/0.00162, allocations: 109.2 kB / 15.99 MB, free: 6.359 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.001878/0.001879, allocations: 194.5 kB / 16.91 MB, free: 6.195 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.437/1.437, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.676/2.676, allocations: 469.8 MB / 0.7427 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 69.55 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3431, allocations: 159.1 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002002/0.3451, allocations: 0.6602 MB / 1.065 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.3466, allocations: 1.104 MB / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.416e-05/0.3467, allocations: 0 / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.748e-05/0.3467, allocations: 0 / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.3469, allocations: 15.92 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.539e-06/0.347, allocations: 4 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 3.19e-05/0.347, allocations: 0 / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.347, allocations: 0 / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.464e-05/0.3471, allocations: 7.984 kB / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.142e-05/0.3471, allocations: 3.938 kB / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.154e-06/0.3471, allocations: 0 / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.3472, allocations: 27.92 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.651e-06/0.3472, allocations: 0 / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.268e-05/0.3472, allocations: 0 / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 5.808e-05/0.3473, allocations: 11.97 kB / 1.066 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3473, allocations: 4 kB / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3473, allocations: 4 kB / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.3473, allocations: 0 / 1.066 GB, free: 13.23 MB / 0.8419 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.0003405/0.3477, allocations: 319.6 kB / 1.066 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.3477, allocations: 8.625 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.147e-05/0.3478, allocations: 0.9375 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.3479, allocations: 168.3 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.3479, allocations: 384 / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.3479, allocations: 384 / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.997e-05/0.348, allocations: 42 kB / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.348, allocations: 7.938 kB / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.3481, allocations: 0 / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3481, allocations: 7.938 kB / 1.066 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.486e-05/0.3481, allocations: 4 kB / 1.066 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001637/0.3483, allocations: 149.7 kB / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.3485, allocations: 30.61 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.318e-05/0.3485, allocations: 12.86 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/0.3487, allocations: 89.19 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.3487, allocations: 38.44 kB / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.3487, allocations: 0 / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5): time 0.004343/0.353, allocations: 0.572 MB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/0.3531, allocations: 51.41 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.501e-05/0.3532, allocations: 89.86 kB / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.3532, allocations: 29.7 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.3533, allocations: 80.14 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.812e-05/0.3533, allocations: 19.81 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.055e-05/0.3534, allocations: 21.7 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3535, allocations: 314.8 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005898/0.3541, allocations: 79.95 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000593/0.3547, allocations: 98.53 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.3559, allocations: 198.4 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3559, allocations: 0 / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001265/0.3572, allocations: 213.5 kB / 1.068 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3572, allocations: 4 kB / 1.068 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.3572, allocations: 4.156 kB / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.3572, allocations: 7.984 kB / 1.069 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000389/0.3576, allocations: 47.97 kB / 1.069 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.3577, allocations: 0 / 1.069 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003314/0.358, allocations: 39.97 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.358, allocations: 8 kB / 1.069 GB, free: 10.26 MB / 0.8419 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.000108/0.3581, allocations: 109.8 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.3582, allocations: 7.938 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/0.3595, allocations: 233 kB / 1.069 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3595, allocations: 0 / 1.069 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3595, allocations: 4.25 kB / 1.069 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.3595, allocations: 0 / 1.069 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/0.3611, allocations: 466.3 kB / 1.069 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.3611, allocations: 0 / 1.069 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000385/0.3615, allocations: 63.84 kB / 1.069 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3615, allocations: 0 / 1.069 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.3616, allocations: 3.984 kB / 1.069 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3616, allocations: 0 / 1.069 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3616, allocations: 0 / 1.069 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.3629, allocations: 307.4 kB / 1.07 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.235e-05/0.3629, allocations: 77.11 kB / 1.07 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.363, allocations: 3.938 kB / 1.07 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003619/0.3633, allocations: 39.98 kB / 1.07 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.742e-05/0.3633, allocations: 7.984 kB / 1.07 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.3634, allocations: 4 kB / 1.07 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.661e-05/0.3634, allocations: 75.28 kB / 1.07 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3634, allocations: 0 / 1.07 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002485/0.3637, allocations: 8 kB / 1.07 GB, free: 8.773 MB / 0.8419 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.0001934/0.3639, allocations: 107.2 kB / 1.07 GB, free: 8.656 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001315/0.3652, allocations: 187.8 kB / 1.07 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3652, allocations: 0 / 1.07 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006048/0.3658, allocations: 88.08 kB / 1.07 GB, free: 8.387 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.366, allocations: 4 kB / 1.07 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.3672, allocations: 246.6 kB / 1.071 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.3676, allocations: 0.6807 MB / 1.071 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.666e-05/0.3677, allocations: 11.44 kB / 1.071 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.3677, allocations: 0 / 1.071 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of Templates: time 0.002935/0.3706, allocations: 1.098 MB / 1.072 GB, free: 6.301 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (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 & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/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) Reference file matches