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.001477/0.001477, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.00148/0.00148, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.745/2.745, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001506, allocations: 67.91 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8427/0.8442, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002983/0.8473, allocations: 1.44 MB / 1.21 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005122/0.8478, allocations: 203.4 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.306e-05/0.8479, allocations: 0 / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.121e-05/0.8479, allocations: 3.938 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.855e-05/0.848, allocations: 4 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.8483, allocations: 35.84 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.983e-05/0.8484, allocations: 19.98 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.797e-05/0.8485, allocations: 8 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.395e-05/0.8486, allocations: 15.91 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.217e-05/0.8486, allocations: 8 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.8486, allocations: 3.938 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.8487, allocations: 35.95 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.721e-05/0.8488, allocations: 11.94 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.756e-05/0.8488, allocations: 3.938 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.849, allocations: 43.94 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.849, allocations: 0 / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.894e-06/0.849, allocations: 7.938 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.849, allocations: 0 / 1.21 GB, free: 11.79 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.0004857/0.8495, allocations: 351.2 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.8495, allocations: 8.031 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.8496, allocations: 4.938 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.8497, allocations: 164.4 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.8497, allocations: 384 / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.8497, allocations: 4.375 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.8499, allocations: 54.23 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.85, allocations: 192 / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.85, allocations: 3.938 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.85, allocations: 0 / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001744/0.8502, allocations: 39.89 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.8505, allocations: 248.8 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.8507, allocations: 46.48 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.585e-05/0.8508, allocations: 20.91 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.8509, allocations: 81.11 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.8509, allocations: 30.56 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.8509, allocations: 3.938 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003576/0.8513, allocations: 85.64 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.8513, allocations: 51.41 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.57e-05/0.8514, allocations: 105.8 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.8515, allocations: 25.7 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.274e-05/0.8515, allocations: 84.14 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.8515, allocations: 7.906 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.8516, allocations: 13.84 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.8517, allocations: 314.8 kB / 1.212 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.365e-05/0.8518, allocations: 19.98 kB / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.409e-05/0.8519, allocations: 15.98 kB / 1.212 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.852, allocations: 40.77 kB / 1.212 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.852, allocations: 8.047 kB / 1.212 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002018/0.8522, allocations: 65.61 kB / 1.212 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.8523, allocations: 4 kB / 1.212 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.8523, allocations: 0 / 1.212 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.8523, allocations: 3.938 kB / 1.212 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.483e-05/0.8524, allocations: 11.98 kB / 1.212 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.912e-06/0.8524, allocations: 0 / 1.212 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.867e-05/0.8525, allocations: 8.016 kB / 1.212 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.8525, allocations: 4 kB / 1.212 GB, free: 9.656 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 7.466e-05/0.8526, allocations: 117.8 kB / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.8526, allocations: 3.906 kB / 1.212 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/0.8528, allocations: 74.53 kB / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.8528, allocations: 4 kB / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.8529, allocations: 0 / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.8529, allocations: 4.031 kB / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.853, allocations: 161.6 kB / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.853, allocations: 256 / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.759e-05/0.8531, allocations: 15.98 kB / 1.212 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.8531, allocations: 4 kB / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.8531, allocations: 0 / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.8531, allocations: 0 / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.8531, allocations: 0 / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.8534, allocations: 171.4 kB / 1.213 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/0.8534, allocations: 77.11 kB / 1.213 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.8534, allocations: 4 kB / 1.213 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.42e-05/0.8535, allocations: 15.92 kB / 1.213 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.8536, allocations: 0 / 1.213 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.8536, allocations: 0 / 1.213 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.726e-05/0.8536, allocations: 79.28 kB / 1.213 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8536, allocations: 4.031 kB / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002315/0.8539, allocations: 15.98 kB / 1.213 GB, free: 8.82 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.0001671/0.854, allocations: 107.2 kB / 1.213 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002154/0.8543, allocations: 39.95 kB / 1.213 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8543, allocations: 0 / 1.213 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.311e-05/0.8544, allocations: 19.92 kB / 1.213 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.8547, allocations: 14.09 kB / 1.213 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002794/0.8549, allocations: 135.1 kB / 1.213 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.8552, allocations: 0.6768 MB / 1.214 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.285e-05/0.8552, allocations: 11.44 kB / 1.214 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of SimCode: time 6.21e-07/0.8553, allocations: 3.938 kB / 1.214 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of Templates: time 0.00205/0.8573, allocations: 0.6564 MB / 1.214 GB, free: 7.094 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/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