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.0007771/0.0007771, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001085/0.001862, 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.0006807/0.0006807, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009242/0.001605, 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.9652/0.9652, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09529/1.061, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.362/2.362, allocations: 447.1 MB / 0.675 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.256/2.618, allocations: 146 MB / 0.8176 GB, free: 3.84 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.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.203e-06/1.203e-06, allocations: 0 / 0.8189 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.102e-05/2.222e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002262/0.002284, allocations: 1.548 MB / 0.8205 GB, free: 0.9219 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0002796/0.002564, allocations: 191.3 kB / 0.8206 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.002588, allocations: 0 / 0.8206 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.986e-05/0.002608, allocations: 0 / 0.8206 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.304e-05/0.002631, allocations: 3.938 kB / 0.8206 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001378/0.002768, allocations: 35.83 kB / 0.8207 GB, free: 0.6953 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.075e-05/0.002829, allocations: 23.92 kB / 0.8207 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 6.84e-05/0.002898, allocations: 4 kB / 0.8207 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.621e-05/0.002964, allocations: 19.92 kB / 0.8207 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.901e-05/0.003003, allocations: 11.98 kB / 0.8207 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.003016, allocations: 0 / 0.8207 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002125/0.005141, allocations: 43.95 kB / 0.8208 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.423e-05/0.005155, allocations: 0 / 0.8208 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.596e-05/0.005171, allocations: 7.938 kB / 0.8208 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.005291, allocations: 35.91 kB / 0.8208 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.149e-05/0.005302, allocations: 0 / 0.8208 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.02e-07/0.005303, allocations: 0 / 0.8208 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.292e-05/0.005316, allocations: 0 / 0.8208 GB, free: 0.5508 MB / 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.0003523/0.005668, allocations: 244.6 kB / 0.821 GB, free: 292 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.005701, allocations: 12.03 kB / 0.8211 GB, free: 280 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.005733, allocations: 8.938 kB / 0.8211 GB, free: 272 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.094e-05/0.005824, allocations: 109.7 kB / 0.8212 GB, free: 136 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.005835, allocations: 8.312 kB / 0.8212 GB, free: 128 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.005844, allocations: 384 / 0.8212 GB, free: 128 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.986e-05/0.005944, allocations: 54.94 kB / 0.8212 GB, free: 64 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.00595, allocations: 192 / 0.8212 GB, free: 64 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.005956, allocations: 384 / 0.8212 GB, free: 64 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.005961, allocations: 384 / 0.8212 GB, free: 64 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.933e-05/0.005981, allocations: 7.938 kB / 0.8212 GB, free: 56 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002138/0.006194, allocations: 148.3 kB / 0.8214 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.917e-05/0.006244, allocations: 30.5 kB / 0.8214 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.415e-05/0.006258, allocations: 4.859 kB / 0.8214 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002544/0.006512, allocations: 76 kB / 0.8215 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.006533, allocations: 30.56 kB / 0.8215 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.006534, allocations: 0 / 0.8215 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001093/0.006643, allocations: 41.62 kB / 0.8216 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.006669, allocations: 55.34 kB / 0.8216 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.795e-05/0.006737, allocations: 106.7 kB / 0.8217 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.006748, allocations: 25.7 kB / 0.8217 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/0.006786, allocations: 84.12 kB / 0.8218 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.006806, allocations: 7.953 kB / 0.8218 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.006835, allocations: 13.72 kB / 0.8218 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.006946, allocations: 319 kB / 0.8221 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.587e-05/0.006961, allocations: 4 kB / 0.8221 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.112e-05/0.006973, allocations: 4 kB / 0.8222 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.728e-05/0.00701, allocations: 8.859 kB / 0.8222 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.007013, allocations: 0 / 0.8222 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.426e-05/0.007087, allocations: 41.62 kB / 0.8222 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.007104, allocations: 5.562 kB / 0.8222 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.007109, allocations: 0 / 0.8222 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.007124, allocations: 0 / 0.8222 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.366e-05/0.007208, allocations: 8.281 kB / 0.8222 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.007212, allocations: 4 kB / 0.8222 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.33e-05/0.007235, allocations: 11.98 kB / 0.8222 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.007241, allocations: 0 / 0.8222 GB, free: 14.95 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 7.532e-05/0.007317, allocations: 113.8 kB / 0.8223 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.757e-05/0.007334, allocations: 0 / 0.8223 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.208e-05/0.007416, allocations: 48.98 kB / 0.8224 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.007418, allocations: 3.938 kB / 0.8224 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.007422, allocations: 3.938 kB / 0.8224 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.007425, allocations: 0 / 0.8224 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.007531, allocations: 73.86 kB / 0.8225 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.007532, allocations: 0 / 0.8225 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.427e-05/0.007556, allocations: 4 kB / 0.8225 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.663e-06/0.007563, allocations: 7.953 kB / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.007564, allocations: 0 / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-06/0.007568, allocations: 0 / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.007569, allocations: 0 / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.007573, allocations: 7.922 kB / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.88e-05/0.007652, allocations: 131.6 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.637e-06/0.00766, allocations: 0 / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.603e-05/0.007706, allocations: 8.016 kB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.007738, allocations: 4 kB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.007741, allocations: 0 / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.468e-05/0.007755, allocations: 12.8 kB / 0.8226 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007755, allocations: 0 / 0.8226 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.003195/0.01095, allocations: 11.98 kB / 0.8226 GB, free: 14.47 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 0.0001344/0.01108, allocations: 96.28 kB / 0.8227 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.928e-05/0.01114, allocations: 16.84 kB / 0.8227 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.01115, allocations: 4 kB / 0.8228 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.106e-05/0.01117, allocations: 12.95 kB / 0.8228 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/0.01135, allocations: 33.64 kB / 0.8228 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003558/0.01171, allocations: 108.7 kB / 0.8229 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.537e-05/0.01174, allocations: 63.2 kB / 0.823 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.98e-05/0.01176, allocations: 3.906 kB / 0.823 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.671e-05/0.01181, allocations: 51.38 kB / 0.823 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of SimCode: time 4.6e-07/0.01181, allocations: 0 / 0.823 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of Templates: time 0.006375/0.01818, allocations: 0.6418 MB / 0.8236 GB, free: 13.38 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.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.21725547965616]