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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001742/0.001742, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002216/0.002216, allocations: 196.8 kB / 16.14 MB, free: 6.645 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.474/1.474, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.781/2.781, allocations: 472.6 MB / 0.7447 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 69.58 kB / 0.9114 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3681, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002806/0.371, allocations: 1.504 MB / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004712/0.3715, allocations: 199.5 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.612e-05/0.3715, allocations: 0 / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.439e-05/0.3716, allocations: 0 / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.039e-05/0.3716, allocations: 7.938 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.3719, allocations: 23.97 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.69e-05/0.3719, allocations: 31.86 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.997e-05/0.372, allocations: 0 / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.62e-05/0.3721, allocations: 11.98 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.45e-05/0.3721, allocations: 11.92 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.3722, allocations: 0 / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.914e-05/0.3723, allocations: 31.97 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.004e-05/0.3723, allocations: 11.98 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.337e-05/0.3723, allocations: 3.938 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.3725, allocations: 47.88 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3725, allocations: 0 / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3725, allocations: 0 / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.3725, allocations: 3.938 kB / 1.069 GB, free: 9.004 MB / 0.8262 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.0005189/0.373, allocations: 343.7 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.3731, allocations: 8.031 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.3731, allocations: 4.938 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.3732, allocations: 168.3 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.3733, allocations: 8.375 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-06/0.3733, allocations: 384 / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.3735, allocations: 50.23 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.3735, allocations: 192 / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.3735, allocations: 7.938 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3735, allocations: 0 / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.3737, allocations: 27.97 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003758/0.3741, allocations: 260.8 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.3742, allocations: 42.48 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.786e-05/0.3743, allocations: 20.91 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-05/0.3744, allocations: 85.09 kB / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.3744, allocations: 34.56 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.3745, allocations: 0 / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003734/0.3748, allocations: 85.58 kB / 1.07 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.3749, allocations: 51.41 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.069e-05/0.375, allocations: 105.8 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.375, allocations: 25.7 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.63e-05/0.375, allocations: 80.27 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.3751, allocations: 7.906 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.3751, allocations: 17.72 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.3753, allocations: 310.8 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.831e-05/0.3754, allocations: 27.91 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.195e-05/0.3754, allocations: 11.98 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.3756, allocations: 40.89 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3756, allocations: 0 / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002025/0.3758, allocations: 77.53 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.3758, allocations: 4 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3758, allocations: 0 / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.3759, allocations: 0 / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.641e-05/0.376, allocations: 11.98 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.376, allocations: 4.031 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.749e-05/0.376, allocations: 4 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.376, allocations: 3.984 kB / 1.071 GB, free: 6.867 MB / 0.8262 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.37e-05/0.3761, allocations: 109.8 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.3762, allocations: 7.906 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002351/0.3764, allocations: 68.78 kB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3764, allocations: 7.969 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3764, allocations: 8.188 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.3764, allocations: 0 / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.3766, allocations: 169.5 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3766, allocations: 0 / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.622e-05/0.3767, allocations: 4 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3767, allocations: 4 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.3767, allocations: 3.984 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3767, allocations: 0 / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3767, allocations: 0 / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.377, allocations: 167.5 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.426e-05/0.3771, allocations: 77.11 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.3771, allocations: 0 / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.324e-05/0.3772, allocations: 4 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.3772, allocations: 7.984 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.3772, allocations: 32 / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.339e-05/0.3773, allocations: 87.28 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3773, allocations: 3.938 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002351/0.3775, allocations: 12 kB / 1.072 GB, free: 6.039 MB / 0.8262 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.0002182/0.3778, allocations: 111.2 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000213/0.378, allocations: 35.91 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.378, allocations: 64 / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.033e-05/0.3781, allocations: 27.97 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.3784, allocations: 9.484 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002977/0.3787, allocations: 115.2 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.379, allocations: 0.677 MB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.797e-05/0.379, allocations: 4.047 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.094e-05/0.3791, allocations: 15.44 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3791, allocations: 0 / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of Templates: time 0.002759/0.3818, allocations: 0.5062 MB / 1.073 GB, free: 4.48 MB / 0.8262 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