Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.001543/0.001543, allocations: 109.5 kB / 17.08 MB, free: 6.008 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.001596/0.001596, allocations: 194.2 kB / 20.03 MB, free: 3.082 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.476/1.476, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.005/3.005, allocations: 489.2 MB / 0.7687 GB, free: 3.789 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002793/0.002793, allocations: 68.08 kB / 1.103 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8765/0.8793, allocations: 163.8 MB / 1.263 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001554/0.8809, allocations: 0.5972 MB / 1.263 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.882, allocations: 1.099 MB / 1.264 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.441e-05/0.882, allocations: 0 / 1.264 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.525e-05/0.882, allocations: 0.5938 kB / 1.264 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001967/0.8822, allocations: 21.89 kB / 1.264 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.998e-06/0.8823, allocations: 0 / 1.264 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 3.505e-05/0.8823, allocations: 7.234 kB / 1.264 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.274e-05/0.8823, allocations: 1.609 kB / 1.264 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.295e-05/0.8824, allocations: 6.141 kB / 1.264 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.998e-05/0.8824, allocations: 4.672 kB / 1.264 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.823e-06/0.8824, allocations: 0.7188 kB / 1.264 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.902e-05/0.8825, allocations: 20.94 kB / 1.264 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.282e-06/0.8825, allocations: 1.297 kB / 1.264 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.166e-05/0.8825, allocations: 0.5938 kB / 1.264 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 7.348e-05/0.8826, allocations: 24.77 kB / 1.264 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.8826, allocations: 0 / 1.264 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8826, allocations: 1.547 kB / 1.264 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.8826, allocations: 0 / 1.264 GB, free: 6.754 MB / 0.9981 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.0001937/0.8828, allocations: 321.1 kB / 1.265 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.8829, allocations: 10.17 kB / 1.265 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.8829, allocations: 1.625 kB / 1.265 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.443e-05/0.883, allocations: 166.2 kB / 1.265 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.883, allocations: 1.031 kB / 1.265 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.883, allocations: 2.516 kB / 1.265 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.48e-05/0.8831, allocations: 44.3 kB / 1.265 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.8831, allocations: 4.844 kB / 1.265 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.8831, allocations: 0 / 1.265 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.8831, allocations: 0.7812 kB / 1.265 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.315e-05/0.8832, allocations: 5.734 kB / 1.265 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001004/0.8833, allocations: 150.8 kB / 1.265 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.8834, allocations: 29.67 kB / 1.265 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.998e-05/0.8835, allocations: 20.66 kB / 1.265 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.8836, allocations: 86.69 kB / 1.265 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.8836, allocations: 39.64 kB / 1.265 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.8836, allocations: 0 / 1.265 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.004163/0.8878, allocations: 0.5693 MB / 1.266 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.8878, allocations: 53.22 kB / 1.266 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.559e-05/0.8878, allocations: 93.86 kB / 1.266 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.8879, allocations: 25.7 kB / 1.266 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.009e-05/0.8879, allocations: 81.42 kB / 1.266 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.8879, allocations: 19.69 kB / 1.266 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-05/0.888, allocations: 19.91 kB / 1.266 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.784e-05/0.888, allocations: 313.2 kB / 1.266 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005976/0.8886, allocations: 86.31 kB / 1.266 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005908/0.8892, allocations: 105.3 kB / 1.267 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.8904, allocations: 186.3 kB / 1.267 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.8904, allocations: 0.7812 kB / 1.267 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001243/0.8917, allocations: 220.3 kB / 1.267 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.8917, allocations: 6.766 kB / 1.267 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.8917, allocations: 0.875 kB / 1.267 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.8917, allocations: 0.9062 kB / 1.267 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004006/0.8921, allocations: 50.73 kB / 1.267 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.8922, allocations: 0.8125 kB / 1.267 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003492/0.8925, allocations: 41.08 kB / 1.267 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.8925, allocations: 2.578 kB / 1.267 GB, free: 4.906 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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 6.124e-05/0.8926, allocations: 120.5 kB / 1.267 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.8926, allocations: 8.828 kB / 1.267 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001357/0.894, allocations: 236 kB / 1.267 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.894, allocations: 1 kB / 1.267 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.894, allocations: 0 / 1.267 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.894, allocations: 1.875 kB / 1.267 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.8954, allocations: 458.2 kB / 1.268 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.8955, allocations: 0.8438 kB / 1.268 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000389/0.8959, allocations: 53.23 kB / 1.268 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.8959, allocations: 320 / 1.268 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.8959, allocations: 2.234 kB / 1.268 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.8959, allocations: 4 kB / 1.268 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.8959, allocations: 1.156 kB / 1.268 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.8972, allocations: 309.4 kB / 1.268 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.612e-05/0.8972, allocations: 82.78 kB / 1.268 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.8972, allocations: 1.719 kB / 1.268 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003714/0.8976, allocations: 39.55 kB / 1.268 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.481e-05/0.8976, allocations: 2.75 kB / 1.268 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.8976, allocations: 7 kB / 1.268 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.459e-05/0.8977, allocations: 76.31 kB / 1.268 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8977, allocations: 3.938 kB / 1.268 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002466/0.8979, allocations: 9.219 kB / 1.268 GB, free: 4.031 MB / 0.9981 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 (5): * Single equations (assignments): 5 * 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.0001465/0.8981, allocations: 110.6 kB / 1.268 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001293/0.8994, allocations: 191.7 kB / 1.269 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.8994, allocations: 0 / 1.269 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006167/0.9, allocations: 93.06 kB / 1.269 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.9002, allocations: 4.516 kB / 1.269 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.9013, allocations: 245.8 kB / 1.269 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.622e-05/0.9014, allocations: 0.6756 MB / 1.27 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.465e-05/0.9015, allocations: 13.08 kB / 1.27 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/0.9015, allocations: 4 kB / 1.27 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of Templates: time 0.002827/0.9043, allocations: 1.097 MB / 1.271 GB, free: 2.957 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.81251616613008]