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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006946/0.006946, allocations: 101.6 kB / 15.73 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 189.6 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.63/2.63, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 64.12 kB / 1.054 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8655/0.8669, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002638/0.8696, allocations: 1.441 MB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004134/0.87, allocations: 191.5 kB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.127e-05/0.8701, allocations: 0 / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.866e-05/0.8701, allocations: 11.92 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.82e-05/0.8702, allocations: 3.938 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.8705, allocations: 35.89 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.372e-05/0.8705, allocations: 23.92 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.013e-05/0.8706, allocations: 4 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.4e-05/0.8707, allocations: 11.94 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.37e-05/0.8707, allocations: 15.92 kB / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.8708, allocations: 4 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.973e-05/0.8709, allocations: 35.97 kB / 1.209 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.75e-05/0.8709, allocations: 7.969 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.383e-05/0.8709, allocations: 7.938 kB / 1.209 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.871, allocations: 39.89 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.871, allocations: 0 / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.303e-06/0.871, allocations: 0 / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.8711, allocations: 0 / 1.21 GB, free: 11.77 MB / 0.9356 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.0004322/0.8715, allocations: 347.3 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.8715, allocations: 19.97 kB / 1.21 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.562e-05/0.8716, allocations: 0.9375 kB / 1.21 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.8717, allocations: 164.4 kB / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.8717, allocations: 4.375 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.8717, allocations: 384 / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.8719, allocations: 50.23 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.8719, allocations: 192 / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.8719, allocations: 7.875 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.8719, allocations: 0 / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.8721, allocations: 35.97 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/0.8724, allocations: 256.9 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.8725, allocations: 38.5 kB / 1.21 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.193e-05/0.8726, allocations: 20.91 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.8727, allocations: 89.09 kB / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.8728, allocations: 34.5 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 2.484e-06/0.8728, allocations: 3.984 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003274/0.8731, allocations: 81.64 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.8732, allocations: 55.41 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.843e-05/0.8732, allocations: 97.98 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.8733, allocations: 33.69 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.366e-05/0.8733, allocations: 80.14 kB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.8733, allocations: 7.906 kB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.8734, allocations: 13.72 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.587e-05/0.8735, allocations: 318.8 kB / 1.211 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.997e-05/0.8735, allocations: 15.97 kB / 1.211 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.028e-05/0.8736, allocations: 19.98 kB / 1.211 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.8738, allocations: 40.77 kB / 1.211 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8738, allocations: 0 / 1.211 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001851/0.874, allocations: 69.59 kB / 1.211 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.874, allocations: 4 kB / 1.211 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.874, allocations: 96 / 1.211 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.874, allocations: 8 kB / 1.211 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.828e-05/0.8741, allocations: 8.234 kB / 1.211 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.8741, allocations: 0 / 1.211 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.486e-05/0.8742, allocations: 12 kB / 1.211 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.8742, allocations: 0 / 1.211 GB, free: 9.633 MB / 0.9356 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 6.493e-05/0.8742, allocations: 117.8 kB / 1.211 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.8743, allocations: 3.906 kB / 1.211 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.8745, allocations: 86.53 kB / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.8745, allocations: 0 / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.8745, allocations: 0 / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.8745, allocations: 0 / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.8747, allocations: 165.5 kB / 1.212 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.8747, allocations: 0 / 1.212 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.396e-05/0.8747, allocations: 8 kB / 1.212 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-06/0.8748, allocations: 0 / 1.212 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.8748, allocations: 3.984 kB / 1.212 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.8748, allocations: 4.031 kB / 1.212 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.8748, allocations: 0 / 1.212 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002169/0.875, allocations: 167.4 kB / 1.212 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.554e-05/0.8751, allocations: 81.11 kB / 1.212 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.8751, allocations: 0 / 1.212 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.8751, allocations: 8.031 kB / 1.212 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.8752, allocations: 3.984 kB / 1.212 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.8752, allocations: 0 / 1.212 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.608e-05/0.8752, allocations: 83.28 kB / 1.212 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8752, allocations: 0 / 1.212 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002471/0.8755, allocations: 12 kB / 1.212 GB, free: 8.805 MB / 0.9356 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.0001466/0.8756, allocations: 107.2 kB / 1.212 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002011/0.8759, allocations: 39.97 kB / 1.212 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.8759, allocations: 0 / 1.212 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.317e-05/0.876, allocations: 27.91 kB / 1.212 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.8762, allocations: 3.938 kB / 1.212 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002475/0.8765, allocations: 109.4 kB / 1.212 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.8767, allocations: 0.6729 MB / 1.213 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.32e-05/0.8767, allocations: 8.125 kB / 1.213 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.077e-05/0.8768, allocations: 15.42 kB / 1.213 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.8768, allocations: 0 / 1.213 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of Templates: time 0.002584/0.8794, allocations: 0.5792 MB / 1.214 GB, free: 7.184 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) 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) Reference file matches