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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.005793/0.005793, allocations: 100.8 kB / 15.87 MB, free: 6.328 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.001318/0.001318, allocations: 195.5 kB / 16.79 MB, free: 6.254 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.389/1.389, allocations: 222.9 MB / 240.5 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.768/2.768, allocations: 461.8 MB / 0.7348 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 64.83 kB / 0.899 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2952, allocations: 157.4 MB / 1.053 GB, free: 8.379 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002815/0.298, allocations: 1.506 MB / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000458/0.2985, allocations: 191.5 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.591e-05/0.2985, allocations: 0 / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.13e-05/0.2986, allocations: 7.938 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.94e-05/0.2987, allocations: 0 / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002272/0.2989, allocations: 31.91 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.703e-05/0.299, allocations: 19.94 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.506e-05/0.2991, allocations: 11.98 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.516e-05/0.2991, allocations: 0 / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.527e-05/0.2992, allocations: 19.91 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.2992, allocations: 4 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.221e-05/0.2993, allocations: 31.97 kB / 1.055 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.2993, allocations: 7.938 kB / 1.055 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.756e-05/0.2993, allocations: 11.92 kB / 1.055 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.291e-05/0.2994, allocations: 23.97 kB / 1.055 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2994, allocations: 0 / 1.055 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.22e-07/0.2994, allocations: 0 / 1.055 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.2995, allocations: 0 / 1.055 GB, free: 6.5 MB / 0.8106 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.0004456/0.2999, allocations: 343.7 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.3, allocations: 15.97 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.3, allocations: 4.844 kB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.3001, allocations: 172.4 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.3001, allocations: 4.375 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.3002, allocations: 384 / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.3004, allocations: 54.17 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.3004, allocations: 192 / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.3004, allocations: 3.938 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3004, allocations: 0 / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.3006, allocations: 39.84 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.3009, allocations: 253 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.301, allocations: 38.5 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.998e-05/0.3011, allocations: 24.89 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.081e-05/0.3012, allocations: 77.11 kB / 1.056 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.3013, allocations: 38.56 kB / 1.056 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3013, allocations: 4 kB / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003509/0.3016, allocations: 81.48 kB / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.3017, allocations: 55.41 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.371e-05/0.3018, allocations: 105.8 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.3018, allocations: 29.83 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.939e-05/0.3018, allocations: 88.14 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.3019, allocations: 3.906 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.3019, allocations: 9.719 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.302, allocations: 318.8 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.352e-05/0.3021, allocations: 15.97 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.164e-05/0.3022, allocations: 15.98 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.3023, allocations: 44.83 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3023, allocations: 0 / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002007/0.3026, allocations: 69.59 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3026, allocations: 4 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3026, allocations: 0 / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.3026, allocations: 4 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.811e-05/0.3027, allocations: 12.02 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3027, allocations: 0 / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.905e-05/0.3028, allocations: 11.98 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.3028, allocations: 0 / 1.056 GB, free: 4.352 MB / 0.8106 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.86e-05/0.3028, allocations: 113.8 kB / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.3029, allocations: 0 / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.3031, allocations: 80.72 kB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.3031, allocations: 3.984 kB / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3031, allocations: 3.938 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.3031, allocations: 0 / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.3033, allocations: 165.5 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3033, allocations: 0 / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.098e-05/0.3034, allocations: 11.98 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3034, allocations: 0 / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.3034, allocations: 0 / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3034, allocations: 0 / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3034, allocations: 4.031 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.3037, allocations: 171.3 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.375e-05/0.3037, allocations: 81.11 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.3037, allocations: 3.938 kB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.596e-05/0.3038, allocations: 7.984 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.3038, allocations: 4.281 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.3039, allocations: 0 / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.708e-05/0.3039, allocations: 87.28 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3039, allocations: 0 / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002427/0.3041, allocations: 16 kB / 1.057 GB, free: 3.516 MB / 0.8106 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.0001513/0.3043, allocations: 103.2 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002012/0.3045, allocations: 39.97 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3045, allocations: 0 / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.976e-05/0.3046, allocations: 23.97 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.3049, allocations: 7.875 kB / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002755/0.3052, allocations: 140 kB / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.3054, allocations: 0.6772 MB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.41e-05/0.3055, allocations: 15.44 kB / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3055, allocations: 0 / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of Templates: time 0.0021/0.3076, allocations: 0.6589 MB / 1.059 GB, free: 1.789 MB / 0.8106 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches