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.001561/0.001561, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002267/0.002267, allocations: 211.6 kB / 22.24 MB, free: 5.258 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.565/1.565, allocations: 230.6 MB / 256 MB, free: 7.812 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.388/3.388, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 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.002083/0.002083, allocations: 70.56 kB / 1.154 GB, free: 25.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3737, allocations: 176.1 MB / 1.326 GB, free: 1.84 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001817/0.3755, allocations: 0.6008 MB / 1.326 GB, free: 1.246 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001556/0.3771, allocations: 1.132 MB / 1.327 GB, free: 100 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.053e-05/0.3771, allocations: 0 / 1.327 GB, free: 100 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.473e-05/0.3771, allocations: 3.938 kB / 1.327 GB, free: 96 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000253/0.3774, allocations: 23.94 kB / 1.327 GB, free: 72 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.597e-06/0.3774, allocations: 0 / 1.327 GB, free: 72 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 3.861e-05/0.3774, allocations: 0 / 1.327 GB, free: 72 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.168e-05/0.3775, allocations: 3.984 kB / 1.327 GB, free: 68 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.852e-05/0.3775, allocations: 7.984 kB / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.472e-05/0.3775, allocations: 3.938 kB / 1.327 GB, free: 56 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.754e-06/0.3775, allocations: 0 / 1.327 GB, free: 56 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.3776, allocations: 19.92 kB / 1.327 GB, free: 36 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.027e-05/0.3777, allocations: 0 / 1.327 GB, free: 36 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.247e-05/0.3777, allocations: 0 / 1.327 GB, free: 36 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 8.436e-05/0.3778, allocations: 15.92 kB / 1.327 GB, free: 20 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.3778, allocations: 4 kB / 1.327 GB, free: 16 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3778, allocations: 0 / 1.327 GB, free: 16 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.3778, allocations: 0 / 1.327 GB, free: 16 kB / 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.0003716/0.3781, allocations: 242.4 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.3782, allocations: 15.97 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/0.3782, allocations: 0.9375 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.752e-05/0.3783, allocations: 102.5 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.3783, allocations: 8.312 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.3783, allocations: 8.359 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.3784, allocations: 34.02 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.3785, allocations: 4 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.3785, allocations: 0 / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.3785, allocations: 0 / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.021e-05/0.3785, allocations: 7.984 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001354/0.3787, allocations: 109.3 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.3788, allocations: 42.48 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.983e-05/0.3789, allocations: 8.859 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.379, allocations: 4 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.379, allocations: 34.64 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.379, allocations: 0 / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.00418/0.3832, allocations: 0.5754 MB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.3832, allocations: 55.41 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.183e-05/0.3833, allocations: 93.86 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.3833, allocations: 25.7 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.278e-05/0.3833, allocations: 80.14 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.519e-05/0.3834, allocations: 15.84 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.416e-05/0.3834, allocations: 21.7 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.3836, allocations: 310.8 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005937/0.3842, allocations: 87.95 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005852/0.3848, allocations: 98.53 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.3859, allocations: 194.4 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3859, allocations: 0 / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001227/0.3872, allocations: 217.5 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.3872, allocations: 7.938 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.3872, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.3872, allocations: 4 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003978/0.3876, allocations: 52 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.3876, allocations: 3.938 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003472/0.388, allocations: 43.97 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.388, allocations: 4 kB / 1.33 GB, free: 13.36 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 9.299e-05/0.3881, allocations: 110.3 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.021e-05/0.3881, allocations: 7.938 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/0.3894, allocations: 237.1 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3895, allocations: 0 / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3895, allocations: 0 / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.175e-06/0.3895, allocations: 4 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/0.391, allocations: 406 kB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.391, allocations: 0 / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003893/0.3914, allocations: 48.28 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.3914, allocations: 0 / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.3914, allocations: 4 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3914, allocations: 4 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3914, allocations: 4 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.3927, allocations: 307.3 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.663e-06/0.3927, allocations: 4 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.3927, allocations: 0 / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003688/0.3931, allocations: 47.97 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.327e-05/0.3931, allocations: 3.938 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.3931, allocations: 0 / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.493e-05/0.3931, allocations: 79.28 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3931, allocations: 0 / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002613/0.3934, allocations: 11.98 kB / 1.331 GB, free: 12.03 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.0002078/0.3936, allocations: 107.2 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001274/0.3949, allocations: 179.9 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3949, allocations: 0 / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005982/0.3955, allocations: 92.06 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.3957, allocations: 3.938 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.397, allocations: 216.8 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.608e-05/0.397, allocations: 71.28 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001821/0.3972, allocations: 24 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.5e-05/0.3973, allocations: 7.438 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of SimCode: time 6.11e-07/0.3973, allocations: 0 / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of Templates: time 0.003541/0.4008, allocations: 0.8128 MB / 1.332 GB, free: 10.47 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: 9.128188287839293]