Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001811/0.001811, allocations: 110.5 kB / 16.46 MB, free: 6.508 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.002023/0.002023, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.471/1.471, allocations: 230.6 MB / 252.8 MB, free: 9.133 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.285/3.285, allocations: 0.4899 GB / 0.7916 GB, free: 33.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002118/0.002118, allocations: 70.92 kB / 1.149 GB, free: 26.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.361, allocations: 176.1 MB / 1.321 GB, free: 2.805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001835/0.3629, allocations: 0.5864 MB / 1.322 GB, free: 2.219 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001751/0.3646, allocations: 1.171 MB / 1.323 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.838e-05/0.3646, allocations: 0 / 1.323 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.903e-05/0.3647, allocations: 0 / 1.323 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002513/0.3649, allocations: 15.94 kB / 1.323 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.366e-06/0.3649, allocations: 0 / 1.323 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.591e-05/0.365, allocations: 7.984 kB / 1.323 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.042e-05/0.365, allocations: 7.984 kB / 1.323 GB, free: 1 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.57e-05/0.365, allocations: 0 / 1.323 GB, free: 1 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.679e-05/0.3651, allocations: 7.938 kB / 1.323 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.095e-06/0.3651, allocations: 0 / 1.323 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.3652, allocations: 23.92 kB / 1.323 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.823e-06/0.3652, allocations: 0 / 1.323 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.682e-05/0.3652, allocations: 3.984 kB / 1.323 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.686e-05/0.3653, allocations: 19.86 kB / 1.323 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.3653, allocations: 0 / 1.323 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3653, allocations: 0 / 1.323 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3653, allocations: 0 / 1.323 GB, free: 0.9453 MB / 1.014 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.0003529/0.3657, allocations: 319.5 kB / 1.323 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.3657, allocations: 15.98 kB / 1.323 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/0.3657, allocations: 8.875 kB / 1.323 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.3659, allocations: 160.4 kB / 1.324 GB, free: 376 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.3659, allocations: 4.375 kB / 1.324 GB, free: 372 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.3659, allocations: 4.375 kB / 1.324 GB, free: 368 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.366, allocations: 38 kB / 1.324 GB, free: 324 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.366, allocations: 3.953 kB / 1.324 GB, free: 320 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.366, allocations: 4 kB / 1.324 GB, free: 316 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.366, allocations: 0 / 1.324 GB, free: 316 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.236e-05/0.3661, allocations: 7.984 kB / 1.324 GB, free: 308 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.3663, allocations: 153.7 kB / 1.324 GB, free: 104 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.3664, allocations: 34.55 kB / 1.324 GB, free: 60 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.148e-05/0.3665, allocations: 8.859 kB / 1.324 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001685/0.3666, allocations: 85.19 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.3667, allocations: 38.5 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3667, allocations: 4 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.004518/0.3712, allocations: 0.5677 MB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.3712, allocations: 55.34 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.002e-05/0.3713, allocations: 89.86 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.3713, allocations: 25.7 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.3713, allocations: 80.14 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.32e-05/0.3714, allocations: 27.78 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.085e-05/0.3715, allocations: 21.7 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002205/0.3717, allocations: 314.8 kB / 1.325 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006301/0.3723, allocations: 79.95 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006373/0.373, allocations: 106.5 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.3742, allocations: 186.5 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3742, allocations: 4 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001313/0.3755, allocations: 217.5 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.3755, allocations: 7.938 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3755, allocations: 4.062 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.3755, allocations: 4.422 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004233/0.376, allocations: 51.91 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.376, allocations: 0 / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000365/0.3763, allocations: 43.97 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.3764, allocations: 4 kB / 1.326 GB, free: 13.95 MB / 1.029 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.0001073/0.3765, allocations: 109.8 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.3765, allocations: 3.938 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00144/0.3779, allocations: 237.1 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.3779, allocations: 4 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3779, allocations: 3.938 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.3779, allocations: 0 / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/0.3797, allocations: 450.7 kB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.3797, allocations: 8.047 kB / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003927/0.3801, allocations: 47.98 kB / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.3801, allocations: 3.984 kB / 1.327 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.3801, allocations: 4 kB / 1.327 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3801, allocations: 3.938 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3801, allocations: 0 / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.3815, allocations: 311.3 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.513e-05/0.3815, allocations: 77.11 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.3816, allocations: 4 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003851/0.3819, allocations: 35.98 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.895e-05/0.382, allocations: 7.984 kB / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.382, allocations: 0 / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.7e-05/0.382, allocations: 75.28 kB / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.382, allocations: 4 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002546/0.3823, allocations: 12 kB / 1.327 GB, free: 12.47 MB / 1.029 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.0002096/0.3825, allocations: 103.2 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001354/0.3838, allocations: 187.8 kB / 1.327 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3838, allocations: 0 / 1.327 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006333/0.3845, allocations: 92.08 kB / 1.327 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.3847, allocations: 13.94 kB / 1.327 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.3859, allocations: 220.7 kB / 1.328 GB, free: 11.83 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.3862, allocations: 0.6806 MB / 1.328 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000174/0.3864, allocations: 32 kB / 1.328 GB, free: 11.09 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.77e-05/0.3865, allocations: 11.44 kB / 1.328 GB, free: 11.08 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.3865, allocations: 0 / 1.328 GB, free: 11.08 MB / 1.029 GB Notification: Performance of Templates: time 0.003434/0.3899, allocations: 0.8192 MB / 1.329 GB, free: 10.26 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.899340422824025]