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.001377/0.001377, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001521/0.001521, allocations: 213 kB / 23 MB, free: 4.969 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.702/1.702, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.432/3.432, allocations: 0.49 GB / 0.7959 GB, free: 35.65 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.002896/0.002896, allocations: 74.39 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.401, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001768/0.4028, allocations: 0.6023 MB / 1.328 GB, free: 400 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001697/0.4045, allocations: 1.124 MB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.658e-05/0.4045, allocations: 0 / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.118e-05/0.4046, allocations: 0 / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003093/0.4049, allocations: 27.91 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 4.258e-06/0.4049, allocations: 4 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 5.415e-05/0.4049, allocations: 4 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.275e-05/0.405, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.295e-05/0.405, allocations: 3.938 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.333e-05/0.405, allocations: 7.938 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.926e-06/0.4051, allocations: 0 / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.4052, allocations: 15.98 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.4052, allocations: 3.984 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 1.194e-05/0.4052, allocations: 0 / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.4053, allocations: 15.86 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.132e-05/0.4053, allocations: 8 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 8.62e-07/0.4053, allocations: 7.938 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.4053, allocations: 0 / 1.329 GB, free: 15.15 MB / 1.029 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.0003847/0.4057, allocations: 238.4 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.4058, allocations: 8.031 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.494e-05/0.4058, allocations: 0.9375 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.4059, allocations: 110.5 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.4059, allocations: 384 / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.406, allocations: 4.375 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.4061, allocations: 38 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.4061, allocations: 4 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.4061, allocations: 4 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.4061, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.895e-05/0.4062, allocations: 11.94 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000167/0.4064, allocations: 105.3 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.4066, allocations: 26.58 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.638e-05/0.4066, allocations: 12.98 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/0.4068, allocations: 4 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.907e-05/0.4069, allocations: 34.56 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.4069, allocations: 4 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.004932/0.4118, allocations: 0.568 MB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.4118, allocations: 55.41 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.985e-05/0.4119, allocations: 89.86 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.4119, allocations: 25.7 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.175e-05/0.4119, allocations: 80.14 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.465e-05/0.412, allocations: 23.81 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.699e-05/0.412, allocations: 17.72 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.4122, allocations: 314.8 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000647/0.4128, allocations: 91.94 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006475/0.4135, allocations: 106.5 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.4148, allocations: 182.7 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4148, allocations: 0 / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001399/0.4162, allocations: 225.5 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.4162, allocations: 8 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.4162, allocations: 11.86 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.4162, allocations: 0 / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004451/0.4167, allocations: 52 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4167, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003684/0.417, allocations: 39.98 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.417, allocations: 0 / 1.331 GB, free: 12.51 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.0001065/0.4171, allocations: 114.4 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.175e-05/0.4172, allocations: 3.984 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001459/0.4186, allocations: 249 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4186, allocations: 3.938 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4186, allocations: 0 / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.393e-06/0.4186, allocations: 0 / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.4187, allocations: 0 / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003889/0.4191, allocations: 43.97 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.945e-05/0.4191, allocations: 0 / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001702/0.4208, allocations: 320.9 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001413/0.4222, allocations: 386.6 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006451/0.4228, allocations: 87.94 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.091e-05/0.4229, allocations: 75.28 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of Backend: time 4.81e-07/0.4229, allocations: 0 / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001142/0.424, allocations: 175.2 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of SimCode: time 0.0004807/0.4245, allocations: 0.543 MB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of Templates: time 0.004181/0.4287, allocations: 1.459 MB / 1.335 GB, free: 8.98 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/jenkins1/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.555231525002455]