Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002266/0.002266, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.666/2.666, allocations: 443.5 MB / 0.7304 GB, free: 14.03 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_10_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_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 63.91 kB / 1.059 GB, free: 348 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.317, allocations: 160.7 MB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001754/0.3188, allocations: 0.5964 MB / 1.217 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001455/0.3202, allocations: 1.112 MB / 1.218 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.918e-05/0.3203, allocations: 0 / 1.218 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.212e-05/0.3203, allocations: 0 / 1.218 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002301/0.3205, allocations: 27.91 kB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 2.866e-06/0.3205, allocations: 0 / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 3.794e-05/0.3205, allocations: 0 / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.848e-05/0.3206, allocations: 4 kB / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.111e-05/0.3206, allocations: 3.938 kB / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.414e-05/0.3206, allocations: 7.922 kB / 1.218 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.001e-06/0.3206, allocations: 0 / 1.218 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.3207, allocations: 23.97 kB / 1.218 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.26e-06/0.3207, allocations: 4 kB / 1.218 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.14e-05/0.3207, allocations: 0 / 1.218 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 7.702e-05/0.3208, allocations: 23.78 kB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3208, allocations: 8 kB / 1.218 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3208, allocations: 0 / 1.218 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.3208, allocations: 0 / 1.218 GB, free: 13.47 MB / 0.9669 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.0003188/0.3212, allocations: 319.5 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.3212, allocations: 8.031 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.697e-05/0.3212, allocations: 4.891 kB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.3213, allocations: 165.3 kB / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.3213, allocations: 384 / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.3214, allocations: 8.375 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.895e-05/0.3215, allocations: 42 kB / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3215, allocations: 0 / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.3215, allocations: 4 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3215, allocations: 0 / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.576e-05/0.3215, allocations: 7.938 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.3217, allocations: 153.7 kB / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.3219, allocations: 34.61 kB / 1.219 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.938e-05/0.3219, allocations: 8.844 kB / 1.219 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001501/0.322, allocations: 85.11 kB / 1.219 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.3221, allocations: 34.5 kB / 1.219 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3221, allocations: 0 / 1.219 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.004527/0.3266, allocations: 0.5677 MB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.3266, allocations: 55.39 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.861e-05/0.3267, allocations: 89.86 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.3267, allocations: 33.7 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.299e-05/0.3267, allocations: 80.14 kB / 1.22 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.3268, allocations: 19.8 kB / 1.22 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.592e-05/0.3268, allocations: 25.59 kB / 1.22 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.327, allocations: 314.8 kB / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006113/0.3276, allocations: 87.95 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006199/0.3282, allocations: 98.53 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.3294, allocations: 186.5 kB / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3294, allocations: 0 / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001251/0.3306, allocations: 221.5 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.3307, allocations: 7.938 kB / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.3307, allocations: 0 / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.3307, allocations: 4 kB / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003914/0.3311, allocations: 52 kB / 1.221 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3311, allocations: 0 / 1.221 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003406/0.3314, allocations: 39.98 kB / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.3314, allocations: 7.984 kB / 1.221 GB, free: 10.5 MB / 0.9669 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 8.764e-05/0.3315, allocations: 105.8 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.3315, allocations: 7.875 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.3329, allocations: 245 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3329, allocations: 0 / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3329, allocations: 0 / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3329, allocations: 0 / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/0.3344, allocations: 458.4 kB / 1.221 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3344, allocations: 320 / 1.221 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004/0.3348, allocations: 55.91 kB / 1.221 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3349, allocations: 4 kB / 1.221 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.3349, allocations: 0 / 1.221 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3349, allocations: 0 / 1.221 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.3349, allocations: 3.984 kB / 1.221 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.3362, allocations: 299.4 kB / 1.222 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/0.3362, allocations: 81.09 kB / 1.222 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.3363, allocations: 8 kB / 1.222 GB, free: 9.145 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003711/0.3366, allocations: 35.98 kB / 1.222 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.731e-05/0.3367, allocations: 8 kB / 1.222 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.3367, allocations: 3.984 kB / 1.222 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.194e-05/0.3367, allocations: 75.28 kB / 1.222 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3367, allocations: 0 / 1.222 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002595/0.337, allocations: 8 kB / 1.222 GB, free: 9.016 MB / 0.9669 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.0002512/0.3372, allocations: 117.1 kB / 1.222 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00129/0.3385, allocations: 183.9 kB / 1.222 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3385, allocations: 0 / 1.222 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005799/0.3391, allocations: 88.02 kB / 1.222 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.3393, allocations: 12 kB / 1.222 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.3405, allocations: 224.8 kB / 1.223 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.3408, allocations: 0.6768 MB / 1.223 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001797/0.341, allocations: 28 kB / 1.223 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.256e-05/0.3411, allocations: 11.44 kB / 1.223 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of SimCode: time 5.51e-07/0.3411, allocations: 0 / 1.223 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of Templates: time 0.00324/0.3443, allocations: 0.827 MB / 1.224 GB, free: 6.801 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 7.902929807081819]