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.001783/0.001783, allocations: 77.48 kB / 19.18 MB, free: 2.52 MB / 14.72 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.002217/0.002217, allocations: 166.7 kB / 22.46 MB, free: 5.375 MB / 14.72 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.454/1.454, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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 2.947/2.947, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] 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.203e-06/1.203e-06, allocations: 0 / 1 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.48e-05, allocations: 2.281 kB / 1 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002648/0.002673, allocations: 1.479 MB / 1.002 GB, free: 5.809 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.000888/0.003561, allocations: 466.8 kB / 1.002 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.65e-05/0.003598, allocations: 4 kB / 1.002 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.706e-05/0.003635, allocations: 7.922 kB / 1.002 GB, free: 5.336 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.789e-05/0.003693, allocations: 0 / 1.002 GB, free: 5.336 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.003904, allocations: 31.84 kB / 1.002 GB, free: 5.305 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.07e-05/0.003974, allocations: 19.92 kB / 1.002 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.614e-05/0.004061, allocations: 8 kB / 1.002 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.029e-05/0.004131, allocations: 11.98 kB / 1.002 GB, free: 5.266 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.372e-05/0.004165, allocations: 8 kB / 1.002 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.004181, allocations: 4 kB / 1.002 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.415e-05/0.004245, allocations: 19.91 kB / 1.002 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.00426, allocations: 8 kB / 1.002 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.103e-05/0.004281, allocations: 7.984 kB / 1.002 GB, free: 5.219 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.004396, allocations: 35.83 kB / 1.002 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.004398, allocations: 0 / 1.002 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.62e-07/0.004399, allocations: 0 / 1.002 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.004407, allocations: 4 kB / 1.002 GB, free: 5.18 MB / 0.9512 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.0005069/0.004914, allocations: 266.3 kB / 1.002 GB, free: 4.891 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.004949, allocations: 15.97 kB / 1.002 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002553/0.005205, allocations: 16.91 kB / 1.002 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.005332, allocations: 113.8 kB / 1.003 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.005342, allocations: 4.375 kB / 1.003 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.005356, allocations: 384 / 1.003 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.005545, allocations: 50.23 kB / 1.003 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.005555, allocations: 192 / 1.003 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.005565, allocations: 384 / 1.003 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.005573, allocations: 3.938 kB / 1.003 GB, free: 4.66 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002013/0.005774, allocations: 39.95 kB / 1.003 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.006151, allocations: 200.6 kB / 1.003 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.0063, allocations: 50.48 kB / 1.003 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.936e-05/0.006399, allocations: 24.91 kB / 1.003 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.006415, allocations: 0 / 1.003 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.006441, allocations: 34.5 kB / 1.003 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.006442, allocations: 0 / 1.003 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0004119/0.006854, allocations: 93.67 kB / 1.003 GB, free: 4.168 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.006895, allocations: 51.41 kB / 1.003 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.348e-05/0.006988, allocations: 109.8 kB / 1.003 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.007005, allocations: 25.7 kB / 1.003 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.722e-05/0.007062, allocations: 84.14 kB / 1.003 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.007083, allocations: 7.891 kB / 1.003 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.00712, allocations: 13.72 kB / 1.003 GB, free: 3.844 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001866/0.007307, allocations: 318.8 kB / 1.004 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.515e-05/0.007402, allocations: 15.98 kB / 1.004 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.156e-05/0.007493, allocations: 24.02 kB / 1.004 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.007676, allocations: 48.75 kB / 1.004 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.007678, allocations: 0 / 1.004 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002345/0.007913, allocations: 73.58 kB / 1.004 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.007929, allocations: 11.94 kB / 1.004 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.007934, allocations: 96 / 1.004 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.007951, allocations: 4 kB / 1.004 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.008078, allocations: 7.984 kB / 1.004 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.008082, allocations: 4 kB / 1.004 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.215e-05/0.008164, allocations: 11.95 kB / 1.004 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.008172, allocations: 0 / 1.004 GB, free: 3.316 MB / 0.9512 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.0001001/0.008272, allocations: 109.8 kB / 1.004 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.008302, allocations: 7.938 kB / 1.004 GB, free: 3.191 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.205e-05/0.008344, allocations: 3.312 kB / 1.004 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.008346, allocations: 4 kB / 1.004 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.00835, allocations: 0 / 1.004 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.008353, allocations: 0 / 1.004 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.008519, allocations: 109.3 kB / 1.004 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.00852, allocations: 0 / 1.004 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.65e-05/0.008617, allocations: 11.98 kB / 1.004 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.008619, allocations: 0 / 1.004 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.008633, allocations: 7.938 kB / 1.004 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.008634, allocations: 0 / 1.004 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.008636, allocations: 0 / 1.004 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.008951, allocations: 167.5 kB / 1.004 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.179e-05/0.008962, allocations: 7.953 kB / 1.004 GB, free: 2.836 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.008982, allocations: 7.938 kB / 1.004 GB, free: 2.828 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.009093, allocations: 7.984 kB / 1.004 GB, free: 2.82 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.009139, allocations: 3.938 kB / 1.004 GB, free: 2.816 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.009144, allocations: 0 / 1.004 GB, free: 2.816 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.12e-05/0.009205, allocations: 87.52 kB / 1.004 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of sort global known variables: time 6e-08/0.009205, allocations: 0 / 1.004 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002428/0.009448, allocations: 8 kB / 1.004 GB, free: 2.723 MB / 0.9512 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.0001597/0.009607, allocations: 103.3 kB / 1.004 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002672/0.009875, allocations: 35.91 kB / 1.004 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.009877, allocations: 0 / 1.004 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.009984, allocations: 23.97 kB / 1.005 GB, free: 2.555 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.01031, allocations: 10.12 kB / 1.005 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004297/0.01074, allocations: 117 kB / 1.005 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.058e-05/0.01082, allocations: 59.34 kB / 1.005 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.559e-05/0.01086, allocations: 4 kB / 1.005 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.01091, allocations: 12.5 kB / 1.005 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of SimCode: time 9.32e-07/0.01091, allocations: 0 / 1.005 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of Templates: time 0.003937/0.01485, allocations: 0.5928 MB / 1.005 GB, free: 1.723 MB / 0.9512 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: 7.905831038951874]