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.001949/0.001949, allocations: 78.09 kB / 19.76 MB, free: 2.031 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.002312/0.002312, allocations: 157.5 kB / 23.01 MB, free: 4.945 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.427/1.427, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.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 2.741/2.741, allocations: 377.9 MB / 0.6228 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 177] 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.002361/0.002361, allocations: 71.89 kB / 0.982 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8143/0.8167, allocations: 176.1 MB / 1.154 GB, free: 33.31 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001484/0.8181, allocations: 0.6049 MB / 1.155 GB, free: 32.95 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.8192, allocations: 1.124 MB / 1.156 GB, free: 32.13 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.547e-05/0.8192, allocations: 0 / 1.156 GB, free: 32.13 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.149e-05/0.8192, allocations: 4 kB / 1.156 GB, free: 32.12 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002216/0.8194, allocations: 21.27 kB / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 5.911e-06/0.8194, allocations: 0 / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 4.118e-05/0.8195, allocations: 6.969 kB / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.237e-05/0.8195, allocations: 4 kB / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.307e-05/0.8195, allocations: 2.969 kB / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 1.999e-05/0.8195, allocations: 0 / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.852e-06/0.8196, allocations: 0 / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.239e-05/0.8196, allocations: 21.09 kB / 1.156 GB, free: 32.1 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.477e-06/0.8197, allocations: 3.984 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.04e-05/0.8197, allocations: 3.938 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 6.822e-05/0.8197, allocations: 16.98 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.8197, allocations: 0 / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.282e-06/0.8197, allocations: 0 / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.8197, allocations: 0 / 1.156 GB, free: 32.09 MB / 1.076 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.0002017/0.8199, allocations: 248.9 kB / 1.156 GB, free: 31.83 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.82, allocations: 7.875 kB / 1.156 GB, free: 31.83 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.643e-05/0.82, allocations: 3.531 kB / 1.156 GB, free: 31.83 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.189e-05/0.82, allocations: 106.5 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.8201, allocations: 384 / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.8201, allocations: 3.062 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.964e-05/0.8202, allocations: 42.61 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.8202, allocations: 4 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.8202, allocations: 0 / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.8202, allocations: 0 / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.038e-05/0.8202, allocations: 8.5 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.193e-05/0.8203, allocations: 107.8 kB / 1.156 GB, free: 31.52 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.8205, allocations: 36.44 kB / 1.156 GB, free: 31.49 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.568e-05/0.8205, allocations: 11.58 kB / 1.156 GB, free: 31.48 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/0.8206, allocations: 7.891 kB / 1.156 GB, free: 31.48 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.13e-05/0.8206, allocations: 33.31 kB / 1.156 GB, free: 31.44 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.8206, allocations: 0 / 1.156 GB, free: 31.44 MB / 1.076 GB Notification: Performance of matching and sorting (n=5): time 0.004336/0.8249, allocations: 0.577 MB / 1.157 GB, free: 31.34 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.163e-05/0.825, allocations: 51.41 kB / 1.157 GB, free: 31.28 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.564e-05/0.825, allocations: 89.86 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.825, allocations: 32.8 kB / 1.157 GB, free: 31.15 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.418e-06/0.825, allocations: 84.12 kB / 1.157 GB, free: 31.06 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.825, allocations: 14.72 kB / 1.157 GB, free: 31.05 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-05/0.8251, allocations: 19.73 kB / 1.157 GB, free: 31.03 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.956e-05/0.8251, allocations: 317.6 kB / 1.157 GB, free: 30.71 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000619/0.8257, allocations: 85.91 kB / 1.158 GB, free: 30.7 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006006/0.8263, allocations: 104.7 kB / 1.158 GB, free: 30.67 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.8275, allocations: 188 kB / 1.158 GB, free: 30.62 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.8275, allocations: 0 / 1.158 GB, free: 30.62 MB / 1.076 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001294/0.8288, allocations: 221.1 kB / 1.158 GB, free: 30.57 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.8288, allocations: 9.5 kB / 1.158 GB, free: 30.56 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.8288, allocations: 0 / 1.158 GB, free: 30.56 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.8289, allocations: 0 / 1.158 GB, free: 30.56 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004106/0.8293, allocations: 53.62 kB / 1.158 GB, free: 30.55 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.8293, allocations: 0 / 1.158 GB, free: 30.55 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003559/0.8296, allocations: 45.08 kB / 1.158 GB, free: 30.55 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.8296, allocations: 2.594 kB / 1.158 GB, free: 30.55 MB / 1.076 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 5.256e-05/0.8297, allocations: 111.7 kB / 1.158 GB, free: 30.43 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.8297, allocations: 6.625 kB / 1.158 GB, free: 30.43 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.8312, allocations: 237.5 kB / 1.158 GB, free: 30.35 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.8312, allocations: 0 / 1.158 GB, free: 30.35 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.8312, allocations: 0 / 1.158 GB, free: 30.35 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.8312, allocations: 7.078 kB / 1.158 GB, free: 30.35 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/0.8329, allocations: 389.8 kB / 1.159 GB, free: 30.1 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.8329, allocations: 3.328 kB / 1.159 GB, free: 30.1 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003999/0.8333, allocations: 52.8 kB / 1.159 GB, free: 30.09 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.8333, allocations: 320 / 1.159 GB, free: 30.09 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.8333, allocations: 3.125 kB / 1.159 GB, free: 30.09 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.8333, allocations: 8 kB / 1.159 GB, free: 30.08 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.8333, allocations: 3.938 kB / 1.159 GB, free: 30.08 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.8346, allocations: 304.2 kB / 1.159 GB, free: 29.92 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.162e-06/0.8346, allocations: 6.281 kB / 1.159 GB, free: 29.92 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.8346, allocations: 0 / 1.159 GB, free: 29.92 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000452/0.8351, allocations: 47.05 kB / 1.159 GB, free: 29.91 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.288e-05/0.8351, allocations: 3.234 kB / 1.159 GB, free: 29.91 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.8351, allocations: 2.75 kB / 1.159 GB, free: 29.91 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.109e-05/0.8351, allocations: 75.28 kB / 1.159 GB, free: 29.84 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.8351, allocations: 0 / 1.159 GB, free: 29.84 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002558/0.8354, allocations: 8.969 kB / 1.159 GB, free: 29.84 MB / 1.076 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.000134/0.8355, allocations: 109.7 kB / 1.159 GB, free: 29.74 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00129/0.8368, allocations: 177.9 kB / 1.16 GB, free: 29.72 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.8368, allocations: 0 / 1.16 GB, free: 29.72 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006775/0.8375, allocations: 93.55 kB / 1.16 GB, free: 29.71 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.8377, allocations: 6.859 kB / 1.16 GB, free: 29.7 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.8389, allocations: 224.4 kB / 1.16 GB, free: 29.58 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.229e-05/0.8389, allocations: 65.39 kB / 1.16 GB, free: 29.5 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001584/0.8391, allocations: 29.31 kB / 1.16 GB, free: 29.48 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.019e-05/0.8391, allocations: 11.5 kB / 1.16 GB, free: 29.48 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/0.8391, allocations: 0 / 1.16 GB, free: 29.48 MB / 1.076 GB Notification: Performance of Templates: time 0.003044/0.8422, allocations: 0.8217 MB / 1.161 GB, free: 29.37 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 8.430057748104446]