Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009238/0.0009238, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007923/0.0007923, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.9551/0.9551, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.747/1.747, allocations: 377.8 MB / 0.6228 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.26e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001746/0.001769, allocations: 1.464 MB / 0.9836 GB, free: 0.5898 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0006156/0.002384, allocations: 478.8 kB / 0.9841 GB, free: 120 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.232e-05/0.002417, allocations: 0 / 0.9841 GB, free: 120 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.881e-05/0.002446, allocations: 3.938 kB / 0.9841 GB, free: 116 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.163e-05/0.002507, allocations: 7.938 kB / 0.9841 GB, free: 108 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.00272, allocations: 19.91 kB / 0.9841 GB, free: 88 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.427e-05/0.002784, allocations: 27.92 kB / 0.9841 GB, free: 60 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.131e-05/0.002875, allocations: 4 kB / 0.9841 GB, free: 56 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.32e-05/0.002948, allocations: 23.92 kB / 0.9842 GB, free: 32 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.409e-05/0.002982, allocations: 7.984 kB / 0.9842 GB, free: 24 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.002998, allocations: 0 / 0.9842 GB, free: 24 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.303e-05/0.003051, allocations: 12 kB / 0.9842 GB, free: 12 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.003066, allocations: 7.984 kB / 0.9842 GB, free: 4 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.941e-05/0.003095, allocations: 11.92 kB / 0.9842 GB, free: 15.99 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.003203, allocations: 35.84 kB / 0.9842 GB, free: 15.96 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.003205, allocations: 0 / 0.9842 GB, free: 15.96 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.42e-07/0.003205, allocations: 0 / 0.9842 GB, free: 15.96 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.00321, allocations: 3.938 kB / 0.9842 GB, free: 15.95 MB / 0.948 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.0003291/0.003539, allocations: 270.3 kB / 0.9845 GB, free: 15.66 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.003575, allocations: 8.031 kB / 0.9845 GB, free: 15.65 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.003606, allocations: 12.88 kB / 0.9845 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.346e-05/0.003679, allocations: 105.8 kB / 0.9846 GB, free: 15.51 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.003689, allocations: 384 / 0.9846 GB, free: 15.51 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-06/0.003698, allocations: 4.375 kB / 0.9846 GB, free: 15.51 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.003821, allocations: 50.23 kB / 0.9847 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.003829, allocations: 192 / 0.9847 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.547e-06/0.003837, allocations: 384 / 0.9847 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.003842, allocations: 3.938 kB / 0.9847 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.859e-05/0.003931, allocations: 39.95 kB / 0.9847 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002664/0.004197, allocations: 200.5 kB / 0.9849 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.768e-05/0.004275, allocations: 34.56 kB / 0.9849 GB, free: 15.14 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.646e-05/0.004321, allocations: 24.89 kB / 0.985 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.908e-05/0.0044, allocations: 4 kB / 0.985 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.004422, allocations: 38.5 kB / 0.985 GB, free: 15.06 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.954e-06/0.004424, allocations: 7.938 kB / 0.985 GB, free: 15.05 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002334/0.004657, allocations: 89.53 kB / 0.9851 GB, free: 14.96 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.004688, allocations: 51.41 kB / 0.9851 GB, free: 14.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.314e-05/0.004751, allocations: 105.8 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.004762, allocations: 25.7 kB / 0.9853 GB, free: 14.75 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.107e-05/0.004803, allocations: 84.14 kB / 0.9853 GB, free: 14.67 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.004822, allocations: 7.891 kB / 0.9854 GB, free: 14.66 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-05/0.004846, allocations: 13.72 kB / 0.9854 GB, free: 14.64 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.095e-05/0.004937, allocations: 319 kB / 0.9857 GB, free: 14.32 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.118e-05/0.004978, allocations: 19.98 kB / 0.9857 GB, free: 14.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.469e-05/0.005012, allocations: 12 kB / 0.9857 GB, free: 14.29 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.449e-05/0.005097, allocations: 40.83 kB / 0.9857 GB, free: 14.25 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.005099, allocations: 0 / 0.9857 GB, free: 14.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001098/0.005209, allocations: 73.66 kB / 0.9858 GB, free: 14.17 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.005222, allocations: 7.938 kB / 0.9858 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.005227, allocations: 0 / 0.9858 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.005239, allocations: 0 / 0.9858 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.561e-05/0.005305, allocations: 11.98 kB / 0.9858 GB, free: 14.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.005309, allocations: 0 / 0.9858 GB, free: 14.15 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.149e-05/0.005331, allocations: 7.984 kB / 0.9858 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.005335, allocations: 0 / 0.9858 GB, free: 14.14 MB / 0.948 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 5.47e-05/0.00539, allocations: 113.8 kB / 0.9859 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.005402, allocations: 11.92 kB / 0.986 GB, free: 14.01 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002918/0.005694, allocations: 72.91 kB / 0.986 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.005696, allocations: 0 / 0.986 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.0057, allocations: 4.188 kB / 0.986 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.005704, allocations: 0 / 0.986 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.875e-05/0.005792, allocations: 109.3 kB / 0.9861 GB, free: 13.79 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.005793, allocations: 0 / 0.9861 GB, free: 13.79 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.508e-05/0.005818, allocations: 11.98 kB / 0.9861 GB, free: 13.78 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.005821, allocations: 4.031 kB / 0.9861 GB, free: 13.78 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.005829, allocations: 3.938 kB / 0.9862 GB, free: 13.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.00583, allocations: 0 / 0.9862 GB, free: 13.77 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.005831, allocations: 0 / 0.9862 GB, free: 13.77 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.005953, allocations: 163.5 kB / 0.9863 GB, free: 13.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-06/0.00596, allocations: 7.938 kB / 0.9863 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.005971, allocations: 3.938 kB / 0.9863 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.913e-05/0.00601, allocations: 7.984 kB / 0.9863 GB, free: 13.58 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.006045, allocations: 7.969 kB / 0.9863 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.006047, allocations: 0 / 0.9863 GB, free: 13.57 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.997e-05/0.006077, allocations: 91.27 kB / 0.9864 GB, free: 13.48 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006077, allocations: 0 / 0.9864 GB, free: 13.48 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000145/0.006222, allocations: 4 kB / 0.9864 GB, free: 13.48 MB / 0.948 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.0001108/0.006333, allocations: 99.72 kB / 0.9865 GB, free: 13.37 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001255/0.006459, allocations: 39.95 kB / 0.9866 GB, free: 13.33 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-06/0.00646, allocations: 64 / 0.9866 GB, free: 13.33 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.124e-05/0.006501, allocations: 23.98 kB / 0.9866 GB, free: 13.31 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.006694, allocations: 6.328 kB / 0.9866 GB, free: 13.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002366/0.006931, allocations: 134.5 kB / 0.9867 GB, free: 13.14 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.893e-05/0.00698, allocations: 63.34 kB / 0.9868 GB, free: 13.06 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.047e-05/0.007, allocations: 8.5 kB / 0.9868 GB, free: 13.05 MB / 0.948 GB Notification: Performance of SimCode: time 4.51e-07/0.007001, allocations: 0 / 0.9868 GB, free: 13.05 MB / 0.948 GB Notification: Performance of Templates: time 0.001499/0.008499, allocations: 0.6726 MB / 0.9874 GB, free: 12.38 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothHeaviside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.822284919209778]