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.001399/0.0014, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001303/0.001303, allocations: 187.9 kB / 17.2 MB, free: 5.684 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.441/1.441, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.797/2.797, allocations: 482.4 MB / 0.7553 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 69.64 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7748/0.7768, allocations: 162.2 MB / 1.083 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002529/0.7794, allocations: 1.443 MB / 1.084 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000401/0.7798, allocations: 188.7 kB / 1.084 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.499e-05/0.7799, allocations: 1.156 kB / 1.085 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.059e-05/0.7799, allocations: 4.594 kB / 1.085 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.788e-05/0.78, allocations: 3.938 kB / 1.085 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.7802, allocations: 41.83 kB / 1.085 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.155e-05/0.7803, allocations: 24.33 kB / 1.085 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.916e-05/0.7804, allocations: 9.016 kB / 1.085 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.835e-05/0.7804, allocations: 4.234 kB / 1.085 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.015e-05/0.7805, allocations: 15.56 kB / 1.085 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.7805, allocations: 5.172 kB / 1.085 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.873e-05/0.7806, allocations: 34.02 kB / 1.085 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.7806, allocations: 4.75 kB / 1.085 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.199e-05/0.7806, allocations: 12.23 kB / 1.085 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.7808, allocations: 43.16 kB / 1.085 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.7808, allocations: 5.812 kB / 1.085 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7808, allocations: 0 / 1.085 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.7808, allocations: 0 / 1.085 GB, free: 0.6602 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.000375/0.7812, allocations: 340.5 kB / 1.085 GB, free: 308 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.7812, allocations: 14.22 kB / 1.085 GB, free: 304 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.7813, allocations: 3.312 kB / 1.085 GB, free: 304 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.163e-05/0.7813, allocations: 162.9 kB / 1.085 GB, free: 104 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.7813, allocations: 0.875 kB / 1.085 GB, free: 104 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.7814, allocations: 6.141 kB / 1.085 GB, free: 100 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.7815, allocations: 53.84 kB / 1.085 GB, free: 60 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.7815, allocations: 4.125 kB / 1.085 GB, free: 56 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.7816, allocations: 3.938 kB / 1.085 GB, free: 52 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.7816, allocations: 1.125 kB / 1.085 GB, free: 52 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.7817, allocations: 33.39 kB / 1.085 GB, free: 48 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000357/0.7821, allocations: 255.5 kB / 1.086 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.7823, allocations: 40.61 kB / 1.086 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.7824, allocations: 24.64 kB / 1.086 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/0.7825, allocations: 80.88 kB / 1.086 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.7825, allocations: 34.5 kB / 1.086 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.7825, allocations: 4.531 kB / 1.086 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003638/0.7829, allocations: 80.94 kB / 1.086 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.783, allocations: 53.12 kB / 1.086 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.44e-05/0.7831, allocations: 101.9 kB / 1.086 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.7831, allocations: 25.7 kB / 1.086 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.7831, allocations: 86.98 kB / 1.086 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.7832, allocations: 8.781 kB / 1.086 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.7832, allocations: 13.94 kB / 1.086 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.7834, allocations: 316.1 kB / 1.086 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.639e-05/0.7834, allocations: 19.31 kB / 1.086 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.992e-05/0.7835, allocations: 21.92 kB / 1.086 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.7837, allocations: 41.59 kB / 1.086 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7837, allocations: 0 / 1.086 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002031/0.7839, allocations: 66.8 kB / 1.087 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.7839, allocations: 6.016 kB / 1.087 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.7839, allocations: 0.9688 kB / 1.087 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.784, allocations: 0 / 1.087 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.323e-05/0.7841, allocations: 10 kB / 1.087 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.7841, allocations: 0 / 1.087 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.728e-05/0.7841, allocations: 9.516 kB / 1.087 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-06/0.7841, allocations: 1.984 kB / 1.087 GB, free: 14.85 MB / 0.8419 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 0.0001003/0.7842, allocations: 121 kB / 1.087 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.7843, allocations: 5.062 kB / 1.087 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000232/0.7845, allocations: 68.12 kB / 1.087 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.7845, allocations: 0.625 kB / 1.087 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.7845, allocations: 9.469 kB / 1.087 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.7845, allocations: 0.5625 kB / 1.087 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.7847, allocations: 167.8 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7847, allocations: 0.8438 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.003e-05/0.7848, allocations: 8.203 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.7848, allocations: 2.109 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-06/0.7848, allocations: 0 / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.7848, allocations: 0.625 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7848, allocations: 0.5938 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.7851, allocations: 167.6 kB / 1.087 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/0.7852, allocations: 78.45 kB / 1.087 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.7852, allocations: 6.141 kB / 1.087 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.662e-05/0.7853, allocations: 4.672 kB / 1.087 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.7853, allocations: 2.891 kB / 1.087 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.7853, allocations: 0.6562 kB / 1.087 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.207e-05/0.7854, allocations: 85.97 kB / 1.087 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7854, allocations: 0 / 1.087 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002316/0.7856, allocations: 17 kB / 1.087 GB, free: 14.15 MB / 0.8419 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.0001656/0.7858, allocations: 104 kB / 1.087 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002281/0.786, allocations: 43.88 kB / 1.087 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.786, allocations: 0 / 1.087 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.44e-05/0.7861, allocations: 24.67 kB / 1.087 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.7864, allocations: 6.859 kB / 1.087 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002978/0.7867, allocations: 137.9 kB / 1.088 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.787, allocations: 0.6767 MB / 1.088 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/0.7871, allocations: 9.312 kB / 1.088 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of SimCode: time 2.8e-07/0.7871, allocations: 4.062 kB / 1.088 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of Templates: time 0.002379/0.7895, allocations: 0.6693 MB / 1.089 GB, free: 13.13 MB / 0.8419 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=400 -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