Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.001321/0.001321, allocations: 119.4 kB / 17.13 MB, free: 5.941 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.001502/0.001502, allocations: 194.2 kB / 20.08 MB, free: 3.012 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.506/1.506, allocations: 225.6 MB / 248.5 MB, free: 3.648 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.627/2.627, allocations: 443.5 MB / 0.7293 GB, free: 14.54 MB / 0.5762 GB " [Timeout remaining time 176] 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.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 67.88 kB / 1.057 GB, free: 2.016 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3569, allocations: 160.7 MB / 1.214 GB, free: 0.9961 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.003838/0.3608, allocations: 1.439 MB / 1.215 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009587/0.3617, allocations: 464.5 kB / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.874e-05/0.3618, allocations: 0 / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.504e-05/0.3618, allocations: 3.938 kB / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.217e-05/0.3619, allocations: 11.92 kB / 1.216 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.3621, allocations: 23.98 kB / 1.216 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.389e-05/0.3622, allocations: 31.86 kB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.3623, allocations: 4 kB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.333e-05/0.3624, allocations: 11.92 kB / 1.216 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.787e-05/0.3624, allocations: 15.92 kB / 1.216 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.3625, allocations: 4 kB / 1.216 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.15e-05/0.3625, allocations: 19.97 kB / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.108e-05/0.3625, allocations: 0 / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.972e-05/0.3626, allocations: 11.94 kB / 1.216 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.3627, allocations: 35.83 kB / 1.216 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 9.778e-06/0.3627, allocations: 4 kB / 1.216 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3627, allocations: 4 kB / 1.216 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.3627, allocations: 0 / 1.216 GB, free: 14.89 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.0005916/0.3633, allocations: 339.4 kB / 1.216 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.3634, allocations: 12.03 kB / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/0.3634, allocations: 4.891 kB / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.3636, allocations: 168.3 kB / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.3636, allocations: 8.375 kB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.3636, allocations: 4.359 kB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.3638, allocations: 57.98 kB / 1.217 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.3638, allocations: 0 / 1.217 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.3638, allocations: 3.938 kB / 1.217 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3638, allocations: 0 / 1.217 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.364, allocations: 35.95 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003976/0.3644, allocations: 252.9 kB / 1.217 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.3646, allocations: 42.5 kB / 1.217 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.846e-05/0.3647, allocations: 16.91 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001439/0.3648, allocations: 85.09 kB / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.3648, allocations: 38.56 kB / 1.217 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3648, allocations: 0 / 1.217 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003827/0.3652, allocations: 81.59 kB / 1.217 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.3653, allocations: 63.28 kB / 1.217 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.313e-05/0.3654, allocations: 97.86 kB / 1.217 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.3654, allocations: 25.7 kB / 1.217 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.005e-05/0.3655, allocations: 92.12 kB / 1.217 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.3655, allocations: 7.891 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.3655, allocations: 13.84 kB / 1.217 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.3657, allocations: 318.8 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.248e-05/0.3658, allocations: 11.98 kB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.618e-05/0.3659, allocations: 19.97 kB / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.366, allocations: 40.77 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.366, allocations: 4.062 kB / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000204/0.3662, allocations: 69.59 kB / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3662, allocations: 4 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.3662, allocations: 0 / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.3662, allocations: 4 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.969e-05/0.3663, allocations: 7.984 kB / 1.218 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3663, allocations: 0 / 1.218 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.725e-05/0.3664, allocations: 4 kB / 1.218 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.3664, allocations: 8.016 kB / 1.218 GB, free: 12.75 MB / 0.9669 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.000107/0.3665, allocations: 121.8 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.3665, allocations: 0 / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002776/0.3668, allocations: 76.73 kB / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3668, allocations: 0 / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3668, allocations: 0 / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3668, allocations: 0 / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.367, allocations: 165.6 kB / 1.218 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.367, allocations: 3.938 kB / 1.218 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.288e-05/0.3671, allocations: 8 kB / 1.218 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.3671, allocations: 0 / 1.218 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.3671, allocations: 256 / 1.218 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.3671, allocations: 4 kB / 1.218 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3671, allocations: 3.984 kB / 1.218 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.3673, allocations: 167.4 kB / 1.218 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.683e-05/0.3674, allocations: 85.09 kB / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.3674, allocations: 0 / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.062e-05/0.3675, allocations: 7.938 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.3675, allocations: 3.984 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.3675, allocations: 0 / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.175e-05/0.3676, allocations: 83.28 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3676, allocations: 0 / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002385/0.3678, allocations: 12.03 kB / 1.219 GB, free: 11.92 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 (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.0001951/0.368, allocations: 111.1 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002197/0.3682, allocations: 31.97 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3682, allocations: 0 / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.914e-05/0.3683, allocations: 19.98 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.3687, allocations: 16.05 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003296/0.369, allocations: 131.1 kB / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.3693, allocations: 0.6729 MB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.39e-05/0.3694, allocations: 7.438 kB / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of SimCode: time 3e-07/0.3694, allocations: 0 / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of Templates: time 0.002608/0.372, allocations: 0.6643 MB / 1.22 GB, free: 10.21 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothHeaviside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.673817862989381]