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.001654/0.001654, allocations: 79.59 kB / 19.18 MB, free: 2.516 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.001825/0.001825, allocations: 168.8 kB / 22.46 MB, free: 5.379 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.472/1.472, allocations: 177.1 MB / 202.8 MB, free: 9.184 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.895/2.895, allocations: 389 MB / 0.633 GB, free: 0.9805 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.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.303e-06/1.303e-06, allocations: 0 / 1 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.489e-05, allocations: 2.281 kB / 1 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002633/0.002658, allocations: 1.469 MB / 1.002 GB, free: 5.82 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0004671/0.003125, allocations: 187.3 kB / 1.002 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.4e-05/0.003169, allocations: 4 kB / 1.002 GB, free: 5.633 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.058e-05/0.0032, allocations: 0 / 1.002 GB, free: 5.633 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.725e-05/0.003247, allocations: 3.938 kB / 1.002 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.003536, allocations: 46.39 kB / 1.002 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.598e-05/0.003602, allocations: 23.92 kB / 1.002 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.659e-05/0.003679, allocations: 4 kB / 1.002 GB, free: 5.559 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.362e-05/0.003742, allocations: 11.98 kB / 1.002 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.384e-05/0.003776, allocations: 11.94 kB / 1.002 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.003793, allocations: 4 kB / 1.002 GB, free: 5.531 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.003894, allocations: 35.95 kB / 1.002 GB, free: 5.496 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.00391, allocations: 3.984 kB / 1.002 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.214e-05/0.003932, allocations: 8 kB / 1.002 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.00407, allocations: 47.86 kB / 1.002 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.004072, allocations: 0 / 1.002 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.71e-07/0.004073, allocations: 0 / 1.002 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.004077, allocations: 0 / 1.002 GB, free: 5.438 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.0004694/0.004547, allocations: 270.2 kB / 1.002 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.004584, allocations: 12.03 kB / 1.002 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.004617, allocations: 0.9375 kB / 1.002 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.004728, allocations: 113.7 kB / 1.002 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.004742, allocations: 384 / 1.002 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.004753, allocations: 4.375 kB / 1.002 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.004941, allocations: 58.16 kB / 1.002 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.004951, allocations: 192 / 1.002 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.00496, allocations: 384 / 1.002 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.004964, allocations: 384 / 1.002 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.005149, allocations: 43.91 kB / 1.002 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003/0.005449, allocations: 188.6 kB / 1.003 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.005585, allocations: 34.56 kB / 1.003 GB, free: 4.625 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.045e-05/0.005676, allocations: 24.84 kB / 1.003 GB, free: 4.598 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.661e-05/0.005742, allocations: 11.92 kB / 1.003 GB, free: 4.586 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.005774, allocations: 34.56 kB / 1.003 GB, free: 4.543 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.005775, allocations: 0 / 1.003 GB, free: 4.543 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003815/0.006157, allocations: 85.58 kB / 1.003 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.006203, allocations: 55.41 kB / 1.003 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.055e-05/0.006294, allocations: 101.9 kB / 1.003 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.00631, allocations: 25.7 kB / 1.003 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.985e-05/0.00637, allocations: 92.12 kB / 1.003 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.006388, allocations: 3.953 kB / 1.003 GB, free: 4.148 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.006421, allocations: 13.72 kB / 1.003 GB, free: 4.129 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.006561, allocations: 314.8 kB / 1.003 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.846e-05/0.006649, allocations: 20.05 kB / 1.003 GB, free: 3.793 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.205e-05/0.006731, allocations: 27.91 kB / 1.003 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.006914, allocations: 36.83 kB / 1.003 GB, free: 3.727 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.006916, allocations: 0 / 1.003 GB, free: 3.727 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002055/0.007121, allocations: 61.75 kB / 1.004 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.00714, allocations: 14.19 kB / 1.004 GB, free: 3.648 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.007146, allocations: 3.938 kB / 1.004 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.007161, allocations: 0 / 1.004 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.617e-05/0.007247, allocations: 7.984 kB / 1.004 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.007253, allocations: 4 kB / 1.004 GB, free: 3.633 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.147e-05/0.007305, allocations: 11.89 kB / 1.004 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.00731, allocations: 0 / 1.004 GB, free: 3.621 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 8.008e-05/0.00739, allocations: 113.8 kB / 1.004 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/0.007418, allocations: 7.984 kB / 1.004 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002412/0.00766, allocations: 72.91 kB / 1.004 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.007662, allocations: 0 / 1.004 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.007665, allocations: 0 / 1.004 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.007668, allocations: 4 kB / 1.004 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.007799, allocations: 105.3 kB / 1.004 GB, free: 3.273 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.0078, allocations: 0 / 1.004 GB, free: 3.273 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.721e-05/0.007858, allocations: 4 kB / 1.004 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.007862, allocations: 4 kB / 1.004 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.007871, allocations: 8.016 kB / 1.004 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.007878, allocations: 3.938 kB / 1.004 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.007879, allocations: 0 / 1.004 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.008137, allocations: 163.5 kB / 1.004 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.028e-05/0.008147, allocations: 7.953 kB / 1.004 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.008159, allocations: 0 / 1.004 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.883e-05/0.008237, allocations: 7.938 kB / 1.004 GB, free: 3.062 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.008279, allocations: 3.984 kB / 1.004 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.008283, allocations: 7.969 kB / 1.004 GB, free: 3.051 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.335e-05/0.008336, allocations: 87.53 kB / 1.004 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.008336, allocations: 0 / 1.004 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002357/0.008572, allocations: 12 kB / 1.004 GB, free: 2.953 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.0001634/0.008735, allocations: 107.2 kB / 1.004 GB, free: 2.84 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002195/0.008955, allocations: 35.91 kB / 1.004 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.008956, allocations: 0 / 1.004 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.641e-05/0.009053, allocations: 31.97 kB / 1.004 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.009314, allocations: 7.938 kB / 1.004 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002843/0.009598, allocations: 101 kB / 1.004 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.825e-05/0.009656, allocations: 59.36 kB / 1.004 GB, free: 2.562 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.333e-05/0.00968, allocations: 3.984 kB / 1.004 GB, free: 2.559 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.767e-05/0.009707, allocations: 12.5 kB / 1.004 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of SimCode: time 3.3e-07/0.009708, allocations: 0 / 1.004 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of Templates: time 0.003238/0.01295, allocations: 0.6134 MB / 1.005 GB, free: 1.941 MB / 0.9512 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: 8.008428066968918]