Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008628/0.0008628, 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.001313/0.001313, allocations: 178.2 kB / 23.22 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.8875/0.8875, allocations: 177.2 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.754/1.754, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.688e-05, allocations: 5.094 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001845/0.001871, allocations: 1.471 MB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00064/0.002511, allocations: 467.6 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.165e-05/0.002543, allocations: 0 / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.944e-05/0.002572, allocations: 7.922 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.944e-05/0.002632, allocations: 7.938 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.002837, allocations: 23.92 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.44e-05/0.002901, allocations: 27.92 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.922e-05/0.00299, allocations: 0 / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.071e-05/0.003061, allocations: 15.97 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.378e-05/0.003095, allocations: 11.94 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.003109, allocations: 4 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.477e-05/0.003163, allocations: 11.98 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.003177, allocations: 4 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.711e-05/0.003194, allocations: 7.984 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.003303, allocations: 35.83 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.003305, allocations: 4 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.353e-06/0.003306, allocations: 4 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.556e-06/0.00331, allocations: 0 / 1.003 GB, free: 10.89 MB / 0.9636 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.0003394/0.003649, allocations: 266.2 kB / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.003686, allocations: 12.75 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.003859, allocations: 20.91 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.168e-05/0.00394, allocations: 109.8 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.003951, allocations: 8.375 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.003961, allocations: 384 / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.00409, allocations: 54.23 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.004097, allocations: 192 / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.118e-06/0.004106, allocations: 384 / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.004113, allocations: 7.938 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.468e-05/0.004207, allocations: 39.95 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000289/0.004496, allocations: 200.6 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.454e-05/0.004581, allocations: 38.55 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.72e-05/0.004628, allocations: 28.91 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.004647, allocations: 3.984 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.004667, allocations: 34.5 kB / 1.004 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.004668, allocations: 0 / 1.004 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.000227/0.004895, allocations: 93.58 kB / 1.004 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.004924, allocations: 51.41 kB / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.895e-05/0.004983, allocations: 105.8 kB / 1.004 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.004994, allocations: 33.83 kB / 1.004 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.291e-05/0.005027, allocations: 80.14 kB / 1.004 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.005046, allocations: 7.891 kB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.005072, allocations: 21.66 kB / 1.004 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.546e-05/0.005147, allocations: 318.8 kB / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.54e-05/0.005193, allocations: 15.98 kB / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.713e-05/0.00523, allocations: 16 kB / 1.004 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.67e-05/0.005317, allocations: 48.88 kB / 1.004 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.005318, allocations: 0 / 1.004 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001103/0.005428, allocations: 73.59 kB / 1.005 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.005443, allocations: 11.94 kB / 1.005 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.005448, allocations: 0 / 1.005 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.005459, allocations: 0 / 1.005 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.465e-05/0.005534, allocations: 11.98 kB / 1.005 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.005539, allocations: 4.031 kB / 1.005 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.052e-05/0.005569, allocations: 7.953 kB / 1.005 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.005575, allocations: 0 / 1.005 GB, free: 9.023 MB / 0.9636 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.557e-05/0.00563, allocations: 109.8 kB / 1.005 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.005645, allocations: 7.922 kB / 1.005 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.385e-05/0.005679, allocations: 7.312 kB / 1.005 GB, free: 8.887 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.005681, allocations: 0 / 1.005 GB, free: 8.887 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.005685, allocations: 0 / 1.005 GB, free: 8.887 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.005687, allocations: 4 kB / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.9e-05/0.005776, allocations: 109.3 kB / 1.005 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.005778, allocations: 0 / 1.005 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.129e-05/0.005819, allocations: 11.98 kB / 1.005 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.005821, allocations: 0 / 1.005 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.005829, allocations: 4.188 kB / 1.005 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.005831, allocations: 7.984 kB / 1.005 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.005832, allocations: 0 / 1.005 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.005974, allocations: 171.5 kB / 1.005 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.582e-06/0.005981, allocations: 3.984 kB / 1.005 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.005992, allocations: 11.94 kB / 1.005 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.449e-05/0.006037, allocations: 7.984 kB / 1.005 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.006066, allocations: 0 / 1.005 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.006069, allocations: 3.938 kB / 1.005 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.993e-05/0.006099, allocations: 87.27 kB / 1.005 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006099, allocations: 0 / 1.005 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001438/0.006243, allocations: 4 kB / 1.005 GB, free: 8.422 MB / 0.9636 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 7.338e-05/0.006316, allocations: 95.25 kB / 1.005 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001276/0.006444, allocations: 43.91 kB / 1.005 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.006445, allocations: 4 kB / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.285e-05/0.006488, allocations: 19.97 kB / 1.005 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.006689, allocations: 10.17 kB / 1.005 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002507/0.00694, allocations: 134.6 kB / 1.005 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.348e-05/0.006983, allocations: 63.33 kB / 1.005 GB, free: 8 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/0.007015, allocations: 16.62 kB / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of SimCode: time 4.21e-07/0.007015, allocations: 0 / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of Templates: time 0.001456/0.008471, allocations: 0.6612 MB / 1.006 GB, free: 7.328 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothHeaviside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.50019680056721]