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.001176/0.001176, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001937/0.003113, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001067/0.001067, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001466/0.002534, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9365/0.9365, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0845/1.021, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.46/2.46, allocations: 447.1 MB / 0.675 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2293/2.69, allocations: 146 MB / 0.8176 GB, free: 3.832 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.453e-06/1.453e-06, allocations: 0 / 0.8189 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.526e-05/1.671e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001807/0.001823, allocations: 1.549 MB / 0.8205 GB, free: 0.918 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0005392/0.002363, allocations: 0.4908 MB / 0.8209 GB, free: 432 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.744e-05/0.00239, allocations: 0 / 0.8209 GB, free: 432 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.941e-05/0.00241, allocations: 7.922 kB / 0.8209 GB, free: 424 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.165e-05/0.002441, allocations: 3.938 kB / 0.8209 GB, free: 420 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001012/0.002542, allocations: 27.91 kB / 0.821 GB, free: 392 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.08e-05/0.002603, allocations: 19.94 kB / 0.821 GB, free: 372 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.026e-05/0.002673, allocations: 11.92 kB / 0.821 GB, free: 360 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.943e-05/0.002753, allocations: 19.92 kB / 0.821 GB, free: 340 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.885e-05/0.002792, allocations: 12 kB / 0.821 GB, free: 328 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.002804, allocations: 0 / 0.821 GB, free: 328 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.743e-05/0.002871, allocations: 23.91 kB / 0.8211 GB, free: 304 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.002884, allocations: 0 / 0.8211 GB, free: 304 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.391e-05/0.002898, allocations: 8 kB / 0.8211 GB, free: 296 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 9.366e-05/0.002991, allocations: 23.92 kB / 0.8211 GB, free: 272 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.23e-05/0.003004, allocations: 0 / 0.8211 GB, free: 272 kB / 0.7917 GB Notification: Performance of FrontEnd: time 8.12e-07/0.003004, allocations: 0 / 0.8211 GB, free: 272 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.353e-05/0.003018, allocations: 0 / 0.8211 GB, free: 272 kB / 0.7917 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.0003973/0.003415, allocations: 244.6 kB / 0.8213 GB, free: 4 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.003457, allocations: 16.08 kB / 0.8213 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.004561, allocations: 97.92 kB / 0.8214 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.264e-05/0.004653, allocations: 109.7 kB / 0.8215 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.004665, allocations: 384 / 0.8215 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.004676, allocations: 4.312 kB / 0.8215 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.004788, allocations: 54.94 kB / 0.8216 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.004796, allocations: 192 / 0.8216 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.004803, allocations: 4.375 kB / 0.8216 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.004811, allocations: 3.938 kB / 0.8216 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.428e-05/0.004835, allocations: 4 kB / 0.8216 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002226/0.005058, allocations: 148.3 kB / 0.8217 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.711e-05/0.005105, allocations: 34.53 kB / 0.8218 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.325e-05/0.005118, allocations: 8.922 kB / 0.8218 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.005135, allocations: 0 / 0.8218 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.005154, allocations: 30.56 kB / 0.8218 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 5.61e-07/0.005155, allocations: 0 / 0.8218 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001071/0.005262, allocations: 49.62 kB / 0.8219 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.00529, allocations: 55.34 kB / 0.8219 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.744e-05/0.005337, allocations: 98.72 kB / 0.822 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.005346, allocations: 25.7 kB / 0.822 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.587e-05/0.005372, allocations: 92.25 kB / 0.8221 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.005389, allocations: 7.938 kB / 0.8221 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.397e-05/0.005413, allocations: 13.72 kB / 0.8221 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.366e-05/0.005487, allocations: 310.8 kB / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.04e-05/0.005497, allocations: 4 kB / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.865e-06/0.005505, allocations: 3.938 kB / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.502e-05/0.00553, allocations: 20.84 kB / 0.8225 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.005532, allocations: 0 / 0.8225 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.22e-05/0.005574, allocations: 33.7 kB / 0.8225 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.005586, allocations: 16.02 kB / 0.8225 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.005589, allocations: 0 / 0.8225 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.005603, allocations: 3.938 kB / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.163e-05/0.005675, allocations: 8.25 kB / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-06/0.005677, allocations: 0 / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.621e-05/0.005703, allocations: 15.97 kB / 0.8225 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-06/0.005707, allocations: 0 / 0.8225 GB, free: 14.6 MB / 0.8073 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 4.592e-05/0.005753, allocations: 105.8 kB / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.005766, allocations: 4 kB / 0.8226 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.443e-05/0.00579, allocations: 7.312 kB / 0.8227 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.005794, allocations: 3.938 kB / 0.8227 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.005796, allocations: 0 / 0.8227 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.005799, allocations: 4 kB / 0.8227 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.419e-05/0.005874, allocations: 73.88 kB / 0.8227 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.005874, allocations: 0 / 0.8227 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.814e-05/0.005902, allocations: 11.98 kB / 0.8227 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.053e-06/0.005909, allocations: 7.953 kB / 0.8227 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.31e-07/0.00591, allocations: 0 / 0.8227 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-06/0.005914, allocations: 0 / 0.8227 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.005916, allocations: 3.938 kB / 0.8228 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.005917, allocations: 4 kB / 0.8228 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.53e-05/0.005982, allocations: 135.5 kB / 0.8229 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.424e-06/0.00599, allocations: 0 / 0.8229 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.421e-05/0.006024, allocations: 4 kB / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.424e-05/0.006048, allocations: 7.922 kB / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-06/0.00605, allocations: 0 / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.418e-06/0.006059, allocations: 12.86 kB / 0.8229 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.00606, allocations: 0 / 0.8229 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001095/0.006169, allocations: 8 kB / 0.8229 GB, free: 14.17 MB / 0.8073 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 6.249e-05/0.006232, allocations: 76.45 kB / 0.823 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.408e-05/0.006286, allocations: 20.78 kB / 0.823 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.006289, allocations: 0 / 0.823 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.003e-05/0.006309, allocations: 12.84 kB / 0.823 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.006481, allocations: 72.8 kB / 0.8231 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003405/0.006821, allocations: 112.6 kB / 0.8232 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.581e-05/0.006857, allocations: 55.22 kB / 0.8232 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.794e-05/0.006885, allocations: 8.188 kB / 0.8233 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.232e-05/0.006947, allocations: 55.36 kB / 0.8233 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of SimCode: time 7.11e-07/0.006948, allocations: 0 / 0.8233 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of Templates: time 0.001971/0.008919, allocations: 0.6685 MB / 0.824 GB, free: 13.03 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.254708154127002]