Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.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.001502/0.001502, allocations: 112.1 kB / 17.08 MB, free: 6.012 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.001537/0.001537, allocations: 193.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.396/1.396, allocations: 222.9 MB / 245.7 MB, free: 4.23 MB / 190.1 MB " [Timeout remaining time 179] 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 2.86/2.86, allocations: 489.3 MB / 0.7687 GB, free: 3.801 MB / 0.6075 GB " [Timeout remaining time 177] 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.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 67.89 kB / 1.103 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8787/0.8807, allocations: 163.8 MB / 1.263 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002247/0.883, allocations: 1.465 MB / 1.264 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008198/0.8838, allocations: 0.5663 MB / 1.265 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.74e-05/0.8839, allocations: 0.875 kB / 1.265 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.671e-05/0.8839, allocations: 3.5 kB / 1.265 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.651e-05/0.884, allocations: 9.891 kB / 1.265 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.8842, allocations: 45.48 kB / 1.265 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.647e-05/0.8843, allocations: 34.33 kB / 1.265 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.957e-05/0.8844, allocations: 4.469 kB / 1.265 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.187e-05/0.8845, allocations: 19.84 kB / 1.265 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.683e-05/0.8845, allocations: 19.33 kB / 1.265 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.8846, allocations: 1.656 kB / 1.265 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.8847, allocations: 53.83 kB / 1.265 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.8847, allocations: 1.969 kB / 1.265 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.8847, allocations: 16.48 kB / 1.265 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.8849, allocations: 64.61 kB / 1.265 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.8849, allocations: 0.6562 kB / 1.265 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8849, allocations: 0 / 1.265 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.8849, allocations: 0.7188 kB / 1.265 GB, free: 6.484 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.0003226/0.8852, allocations: 347.5 kB / 1.265 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.8853, allocations: 13.44 kB / 1.265 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.711e-05/0.8853, allocations: 7.5 kB / 1.265 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.227e-05/0.8854, allocations: 164.6 kB / 1.265 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.712e-06/0.8854, allocations: 4.969 kB / 1.265 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.8854, allocations: 6 kB / 1.265 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.8856, allocations: 42.81 kB / 1.265 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.8856, allocations: 0 / 1.265 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.8856, allocations: 4.781 kB / 1.265 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.8856, allocations: 0.75 kB / 1.265 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.631e-05/0.8857, allocations: 20.08 kB / 1.265 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002595/0.886, allocations: 257.6 kB / 1.266 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.193e-05/0.8861, allocations: 34.78 kB / 1.266 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.62e-05/0.8861, allocations: 17.25 kB / 1.266 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006866/0.8868, allocations: 479.3 kB / 1.266 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.242e-05/0.8868, allocations: 32.11 kB / 1.266 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.8868, allocations: 0.875 kB / 1.266 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0002261/0.8871, allocations: 61.31 kB / 1.266 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.812e-05/0.8871, allocations: 60.97 kB / 1.266 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.815e-05/0.8871, allocations: 110.7 kB / 1.266 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.482e-06/0.8872, allocations: 30.55 kB / 1.266 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.357e-05/0.8872, allocations: 91.27 kB / 1.267 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.8872, allocations: 4.469 kB / 1.267 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.8872, allocations: 17.69 kB / 1.267 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.91e-05/0.8873, allocations: 313.6 kB / 1.267 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.251e-05/0.8873, allocations: 7.406 kB / 1.267 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.658e-05/0.8874, allocations: 16.09 kB / 1.267 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.837e-05/0.8875, allocations: 29.42 kB / 1.267 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.8875, allocations: 0 / 1.267 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001112/0.8876, allocations: 59.77 kB / 1.267 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.8876, allocations: 5.781 kB / 1.267 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.8876, allocations: 0 / 1.267 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.8876, allocations: 0.8438 kB / 1.267 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.471e-05/0.8877, allocations: 9.891 kB / 1.267 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.8877, allocations: 1.469 kB / 1.267 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.009e-05/0.8877, allocations: 2.5 kB / 1.267 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.8878, allocations: 1.484 kB / 1.267 GB, free: 4.277 MB / 0.9981 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.011e-05/0.8878, allocations: 120.2 kB / 1.267 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.8878, allocations: 1.531 kB / 1.267 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/0.888, allocations: 62.36 kB / 1.267 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.888, allocations: 4.031 kB / 1.267 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.888, allocations: 0 / 1.267 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.888, allocations: 2.125 kB / 1.267 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.8881, allocations: 161.2 kB / 1.267 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.8881, allocations: 0 / 1.267 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.165e-05/0.8882, allocations: 15.56 kB / 1.267 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.8882, allocations: 0 / 1.267 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.8882, allocations: 1.781 kB / 1.267 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.8882, allocations: 0 / 1.267 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.8882, allocations: 0 / 1.267 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.8883, allocations: 160.4 kB / 1.267 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.658e-05/0.8884, allocations: 78.81 kB / 1.268 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.8884, allocations: 0.9688 kB / 1.268 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.819e-05/0.8884, allocations: 2.375 kB / 1.268 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.8885, allocations: 6.656 kB / 1.268 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.8885, allocations: 5.578 kB / 1.268 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.842e-05/0.8885, allocations: 96.33 kB / 1.268 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8885, allocations: 0 / 1.268 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002293/0.8888, allocations: 16.92 kB / 1.268 GB, free: 3.562 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 (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.0001317/0.8889, allocations: 114 kB / 1.268 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001312/0.889, allocations: 24.48 kB / 1.268 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.889, allocations: 0 / 1.268 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.445e-05/0.8891, allocations: 17.67 kB / 1.268 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.8893, allocations: 8.812 kB / 1.268 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002422/0.8895, allocations: 158.6 kB / 1.268 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.933e-05/0.8896, allocations: 0.6786 MB / 1.269 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.053e-05/0.8897, allocations: 13.52 kB / 1.269 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.8897, allocations: 0 / 1.269 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of Templates: time 0.002457/0.8921, allocations: 0.8114 MB / 1.269 GB, free: 2.516 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.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.783937572967261]