Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.002035/0.002035, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002563/0.002563, allocations: 161.7 kB / 23.54 MB, free: 0.8906 MB / 18.57 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.483/1.483, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.71/2.71, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.667e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.003038/0.003065, allocations: 1.471 MB / 0.7878 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000966/0.00403, allocations: 477.9 kB / 0.7883 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.312e-05/0.004064, allocations: 0 / 0.7883 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.893e-05/0.004093, allocations: 3.938 kB / 0.7883 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.222e-05/0.004155, allocations: 5.156 kB / 0.7883 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.004359, allocations: 23.92 kB / 0.7883 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.223e-05/0.004431, allocations: 24.83 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.206e-05/0.004503, allocations: 4 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.851e-05/0.004582, allocations: 15.97 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.437e-05/0.004616, allocations: 12.78 kB / 0.7884 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.004633, allocations: 4 kB / 0.7884 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.207e-05/0.004695, allocations: 12.55 kB / 0.7884 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.565e-05/0.00472, allocations: 5.156 kB / 0.7884 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.834e-05/0.004749, allocations: 7.984 kB / 0.7884 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.004866, allocations: 35.83 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.004869, allocations: 4.5 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.12e-07/0.004869, allocations: 0 / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.004873, allocations: 4.688 kB / 0.7884 GB, free: 10.74 MB / 0.7448 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.0004654/0.005338, allocations: 263.2 kB / 0.7887 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.005377, allocations: 12.03 kB / 0.7887 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.276e-05/0.005419, allocations: 5.594 kB / 0.7887 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.005545, allocations: 113.8 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.005556, allocations: 3.812 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.425e-06/0.005564, allocations: 384 / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.005766, allocations: 50.23 kB / 0.7889 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.005773, allocations: 192 / 0.7889 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.005782, allocations: 384 / 0.7889 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.005789, allocations: 7.938 kB / 0.7889 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/0.005975, allocations: 31.91 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.006312, allocations: 201.2 kB / 0.7891 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.006458, allocations: 35.16 kB / 0.7891 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.006566, allocations: 26.55 kB / 0.7891 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001083/0.006675, allocations: 4 kB / 0.7892 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.006714, allocations: 38.5 kB / 0.7892 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.006715, allocations: 1.469 kB / 0.7892 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0004134/0.007129, allocations: 87.17 kB / 0.7893 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.007182, allocations: 55.34 kB / 0.7893 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.007303, allocations: 101.8 kB / 0.7894 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.007329, allocations: 29.7 kB / 0.7895 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.579e-05/0.007405, allocations: 80.8 kB / 0.7895 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.007429, allocations: 5.891 kB / 0.7895 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/0.007473, allocations: 17.72 kB / 0.7896 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001976/0.007671, allocations: 310.8 kB / 0.7898 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.007773, allocations: 19.97 kB / 0.7899 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.907e-05/0.007852, allocations: 16.62 kB / 0.7899 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.008027, allocations: 38.77 kB / 0.7899 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.008029, allocations: 3.938 kB / 0.7899 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002317/0.008261, allocations: 71.66 kB / 0.79 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.008282, allocations: 9.656 kB / 0.79 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.008288, allocations: 0 / 0.79 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.008311, allocations: 4.906 kB / 0.79 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.008416, allocations: 11.98 kB / 0.79 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.008422, allocations: 0.5625 kB / 0.79 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.556e-05/0.008487, allocations: 9.109 kB / 0.79 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.008493, allocations: 0 / 0.79 GB, free: 8.957 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.0001068/0.0086, allocations: 109.8 kB / 0.7901 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.008635, allocations: 16.66 kB / 0.7901 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002831/0.008918, allocations: 82.05 kB / 0.7902 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.00892, allocations: 0 / 0.7902 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.008924, allocations: 1.031 kB / 0.7902 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.008926, allocations: 0 / 0.7902 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.009084, allocations: 105.3 kB / 0.7903 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.009086, allocations: 0.8438 kB / 0.7903 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.631e-05/0.009152, allocations: 14.2 kB / 0.7903 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.009154, allocations: 0 / 0.7903 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.009164, allocations: 3.938 kB / 0.7903 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.009165, allocations: 0 / 0.7903 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.009166, allocations: 0 / 0.7903 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.009469, allocations: 174.2 kB / 0.7905 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.623e-06/0.009476, allocations: 0 / 0.7905 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.009493, allocations: 3.938 kB / 0.7905 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.204e-05/0.009575, allocations: 11.92 kB / 0.7905 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.00961, allocations: 0 / 0.7905 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.009617, allocations: 4 kB / 0.7905 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.961e-05/0.009676, allocations: 88.8 kB / 0.7906 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009677, allocations: 0 / 0.7906 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002315/0.009908, allocations: 4 kB / 0.7906 GB, free: 8.297 MB / 0.7448 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 (2): * Single equations (assignments): 2 * 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.0001651/0.01007, allocations: 95.75 kB / 0.7907 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000226/0.0103, allocations: 41.05 kB / 0.7907 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.0103, allocations: 1.375 kB / 0.7907 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.0104, allocations: 19.98 kB / 0.7908 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.0107, allocations: 8.562 kB / 0.7908 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003196/0.01102, allocations: 117.7 kB / 0.7909 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.272e-05/0.01109, allocations: 63.33 kB / 0.7909 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.33e-05/0.01112, allocations: 0.6562 kB / 0.7909 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.764e-05/0.01114, allocations: 13.59 kB / 0.791 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.01114, allocations: 0 / 0.791 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of Templates: time 0.00326/0.0144, allocations: 0.6144 MB / 0.7916 GB, free: 7.309 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothHeaviside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.476826959988102]