Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.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.0008874/0.0008874, allocations: 76.55 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.0008819/0.0008819, allocations: 181.9 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.9044/0.9044, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.791/1.791, allocations: 389 MB / 0.6338 GB, free: 12.7 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.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 1.001 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.922e-05/3.096e-05, allocations: 4.812 kB / 1.001 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002016/0.002047, allocations: 1.471 MB / 1.002 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0003685/0.002416, allocations: 187.4 kB / 1.003 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.151e-05/0.002447, allocations: 3.938 kB / 1.003 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 2.798e-05/0.002475, allocations: 0 / 1.003 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 4.226e-05/0.002518, allocations: 7.984 kB / 1.003 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.002789, allocations: 39.81 kB / 1.003 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 6.534e-05/0.002854, allocations: 27.86 kB / 1.003 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 8.694e-05/0.002941, allocations: 0 / 1.003 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 5.138e-05/0.002992, allocations: 23.91 kB / 1.003 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 3.278e-05/0.003025, allocations: 7.984 kB / 1.003 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.003041, allocations: 4 kB / 1.003 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 7.83e-05/0.00312, allocations: 27.97 kB / 1.003 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.003136, allocations: 4 kB / 1.003 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.003154, allocations: 11.94 kB / 1.003 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.003274, allocations: 51.86 kB / 1.003 GB, free: 10 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.003277, allocations: 0 / 1.003 GB, free: 10 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.483e-06/0.003278, allocations: 0 / 1.003 GB, free: 10 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.003282, allocations: 0 / 1.003 GB, free: 10 MB / 0.9167 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.0003482/0.003631, allocations: 274.2 kB / 1.003 GB, free: 9.703 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.00367, allocations: 8.75 kB / 1.003 GB, free: 9.695 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.003702, allocations: 4.938 kB / 1.003 GB, free: 9.691 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.516e-05/0.003777, allocations: 105.8 kB / 1.003 GB, free: 9.562 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.003787, allocations: 4.375 kB / 1.003 GB, free: 9.559 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.003795, allocations: 384 / 1.003 GB, free: 9.559 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.003919, allocations: 54.23 kB / 1.003 GB, free: 9.5 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.003926, allocations: 192 / 1.003 GB, free: 9.5 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.003935, allocations: 4.312 kB / 1.003 GB, free: 9.496 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.003941, allocations: 4.359 kB / 1.003 GB, free: 9.492 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.312e-05/0.004034, allocations: 35.91 kB / 1.003 GB, free: 9.457 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002537/0.004288, allocations: 196.6 kB / 1.003 GB, free: 9.234 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.139e-05/0.004369, allocations: 34.56 kB / 1.003 GB, free: 9.191 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.801e-05/0.004417, allocations: 29.67 kB / 1.003 GB, free: 9.16 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 5.773e-05/0.004475, allocations: 8 kB / 1.003 GB, free: 9.152 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.004495, allocations: 34.5 kB / 1.003 GB, free: 9.109 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.004497, allocations: 0 / 1.003 GB, free: 9.109 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.0002248/0.004721, allocations: 85.58 kB / 1.004 GB, free: 9.02 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.00475, allocations: 55.34 kB / 1.004 GB, free: 8.953 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.125e-05/0.004812, allocations: 106 kB / 1.004 GB, free: 8.84 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.004821, allocations: 29.7 kB / 1.004 GB, free: 8.805 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.533e-05/0.004856, allocations: 80.14 kB / 1.004 GB, free: 8.723 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.004873, allocations: 7.891 kB / 1.004 GB, free: 8.715 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.522e-05/0.004898, allocations: 17.72 kB / 1.004 GB, free: 8.691 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.17e-05/0.00498, allocations: 310.8 kB / 1.004 GB, free: 8.379 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.766e-05/0.005028, allocations: 24.22 kB / 1.004 GB, free: 8.355 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.455e-05/0.005062, allocations: 11.98 kB / 1.004 GB, free: 8.344 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.032e-05/0.005143, allocations: 48.83 kB / 1.004 GB, free: 8.293 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.005144, allocations: 0 / 1.004 GB, free: 8.293 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001041/0.005248, allocations: 65.66 kB / 1.004 GB, free: 8.223 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.005261, allocations: 4 kB / 1.004 GB, free: 8.219 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.005266, allocations: 3.938 kB / 1.004 GB, free: 8.215 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.005277, allocations: 0 / 1.004 GB, free: 8.215 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.419e-05/0.005341, allocations: 15.98 kB / 1.004 GB, free: 8.199 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.005345, allocations: 4.031 kB / 1.004 GB, free: 8.195 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.325e-05/0.005369, allocations: 7.984 kB / 1.004 GB, free: 8.188 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.005373, allocations: 0 / 1.004 GB, free: 8.188 MB / 0.9167 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.371e-05/0.005427, allocations: 109.8 kB / 1.004 GB, free: 8.07 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.005439, allocations: 3.953 kB / 1.004 GB, free: 8.066 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001382/0.005578, allocations: 80.84 kB / 1.004 GB, free: 7.977 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.00558, allocations: 0 / 1.004 GB, free: 7.977 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.005584, allocations: 0 / 1.004 GB, free: 7.977 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.005587, allocations: 4.031 kB / 1.004 GB, free: 7.973 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.555e-05/0.005672, allocations: 105.3 kB / 1.005 GB, free: 7.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.005674, allocations: 0 / 1.005 GB, free: 7.84 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.587e-05/0.005699, allocations: 11.98 kB / 1.005 GB, free: 7.828 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.005701, allocations: 0 / 1.005 GB, free: 7.828 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.005707, allocations: 0 / 1.005 GB, free: 7.828 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.005708, allocations: 3.938 kB / 1.005 GB, free: 7.824 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.005709, allocations: 0 / 1.005 GB, free: 7.824 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.005835, allocations: 167.5 kB / 1.005 GB, free: 7.645 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.493e-06/0.005841, allocations: 3.938 kB / 1.005 GB, free: 7.641 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.827e-06/0.00585, allocations: 0 / 1.005 GB, free: 7.641 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.312e-05/0.005893, allocations: 19.86 kB / 1.005 GB, free: 7.621 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.005923, allocations: 0 / 1.005 GB, free: 7.621 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.005926, allocations: 4 kB / 1.005 GB, free: 7.617 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.987e-05/0.005956, allocations: 83.27 kB / 1.005 GB, free: 7.535 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005956, allocations: 0 / 1.005 GB, free: 7.535 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001557/0.006112, allocations: 12 kB / 1.005 GB, free: 7.523 MB / 0.9167 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.000121/0.006233, allocations: 107.3 kB / 1.005 GB, free: 7.41 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000123/0.006356, allocations: 39.95 kB / 1.005 GB, free: 7.371 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.006357, allocations: 0 / 1.005 GB, free: 7.371 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.137e-05/0.006399, allocations: 23.92 kB / 1.005 GB, free: 7.348 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.006605, allocations: 4.125 kB / 1.005 GB, free: 7.344 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002476/0.006853, allocations: 138.4 kB / 1.005 GB, free: 7.176 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.423e-05/0.006897, allocations: 67.47 kB / 1.005 GB, free: 7.09 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.045e-05/0.006917, allocations: 8.5 kB / 1.005 GB, free: 7.082 MB / 0.9167 GB Notification: Performance of SimCode: time 4.61e-07/0.006918, allocations: 0 / 1.005 GB, free: 7.082 MB / 0.9167 GB Notification: Performance of Templates: time 0.001579/0.008497, allocations: 0.6808 MB / 1.006 GB, free: 6.402 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.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.406053401529789]