Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.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.001668/0.001668, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.00195/0.00195, allocations: 202.9 kB / 22.17 MB, free: 5.203 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.489/1.489, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.883/2.883, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 67.89 kB / 1.109 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9941/0.9962, allocations: 168.7 MB / 1.274 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002692/0.9989, allocations: 1.464 MB / 1.275 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004708/0.9993, allocations: 195.4 kB / 1.276 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.61e-05/0.9994, allocations: 0 / 1.276 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.029e-05/0.9994, allocations: 0 / 1.276 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.578e-05/0.9995, allocations: 3.938 kB / 1.276 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.9998, allocations: 39.89 kB / 1.276 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.333e-05/0.9998, allocations: 27.92 kB / 1.276 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.99e-05/0.9999, allocations: 4 kB / 1.276 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.37e-05/1, allocations: 15.92 kB / 1.276 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.573e-05/1, allocations: 3.938 kB / 1.276 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/1, allocations: 4 kB / 1.276 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.629e-05/1, allocations: 39.95 kB / 1.276 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/1, allocations: 7.984 kB / 1.276 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.716e-05/1, allocations: 11.94 kB / 1.276 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/1, allocations: 38.56 kB / 1.276 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/1, allocations: 0 / 1.276 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.473e-06/1, allocations: 3.938 kB / 1.276 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.3e-06/1, allocations: 0 / 1.276 GB, free: 2.68 MB / 0.9669 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.0005191/1.001, allocations: 355.3 kB / 1.276 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/1.001, allocations: 8.031 kB / 1.276 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/1.001, allocations: 4.891 kB / 1.276 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/1.001, allocations: 168.4 kB / 1.276 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/1.001, allocations: 384 / 1.276 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-06/1.001, allocations: 384 / 1.276 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/1.001, allocations: 50.23 kB / 1.276 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/1.001, allocations: 4.188 kB / 1.276 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/1.001, allocations: 3.938 kB / 1.276 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/1.001, allocations: 0 / 1.276 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/1.001, allocations: 35.95 kB / 1.276 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003691/1.002, allocations: 256.8 kB / 1.277 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/1.002, allocations: 46.48 kB / 1.277 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.062e-05/1.002, allocations: 20.91 kB / 1.277 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.87e-05/1.002, allocations: 77.11 kB / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/1.002, allocations: 34.56 kB / 1.277 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/1.002, allocations: 0 / 1.277 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003852/1.003, allocations: 93.62 kB / 1.277 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/1.003, allocations: 51.41 kB / 1.277 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.513e-05/1.003, allocations: 101.8 kB / 1.277 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/1.003, allocations: 25.7 kB / 1.277 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/1.003, allocations: 88.14 kB / 1.277 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.566e-05/1.003, allocations: 3.953 kB / 1.277 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/1.003, allocations: 13.72 kB / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001531/1.003, allocations: 318.8 kB / 1.278 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.364e-05/1.003, allocations: 16.02 kB / 1.278 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.039e-05/1.003, allocations: 19.98 kB / 1.278 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/1.003, allocations: 32.83 kB / 1.278 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.003, allocations: 3.938 kB / 1.278 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002077/1.003, allocations: 77.59 kB / 1.278 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/1.004, allocations: 8 kB / 1.278 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/1.004, allocations: 0 / 1.278 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/1.004, allocations: 0 / 1.278 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.745e-05/1.004, allocations: 7.984 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/1.004, allocations: 0 / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.799e-05/1.004, allocations: 7.984 kB / 1.278 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/1.004, allocations: 4 kB / 1.278 GB, free: 0.5352 MB / 0.9669 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.857e-05/1.004, allocations: 118.3 kB / 1.278 GB, free: 420 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/1.004, allocations: 3.953 kB / 1.278 GB, free: 416 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/1.004, allocations: 80.7 kB / 1.278 GB, free: 332 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/1.004, allocations: 0 / 1.278 GB, free: 332 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/1.004, allocations: 0 / 1.278 GB, free: 332 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/1.004, allocations: 0 / 1.278 GB, free: 332 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/1.004, allocations: 165.5 kB / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/1.004, allocations: 4 kB / 1.278 GB, free: 112 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.8e-05/1.004, allocations: 12.27 kB / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/1.004, allocations: 0 / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/1.004, allocations: 4 kB / 1.278 GB, free: 96 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/1.004, allocations: 0 / 1.278 GB, free: 96 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/1.004, allocations: 4 kB / 1.278 GB, free: 92 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/1.005, allocations: 167.5 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-05/1.005, allocations: 77.11 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/1.005, allocations: 0 / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.804e-05/1.005, allocations: 15.86 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.85e-05/1.005, allocations: 0 / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/1.005, allocations: 4 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.626e-05/1.005, allocations: 83.28 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/1.005, allocations: 0 / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002376/1.005, allocations: 11.98 kB / 1.278 GB, free: 15.7 MB / 0.9825 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.0001671/1.005, allocations: 107.3 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002247/1.005, allocations: 35.95 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/1.005, allocations: 0 / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.866e-05/1.005, allocations: 19.98 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/1.006, allocations: 13.53 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003122/1.006, allocations: 121.5 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/1.006, allocations: 0.6768 MB / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.158e-05/1.006, allocations: 4 kB / 1.279 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.034e-05/1.006, allocations: 7.438 kB / 1.279 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/1.006, allocations: 0 / 1.279 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of Templates: time 0.00322/1.01, allocations: 0.5837 MB / 1.28 GB, free: 14.08 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.348256804980338]