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.001295/0.001295, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001367/0.001367, allocations: 197.9 kB / 16.26 MB, free: 6.629 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.475/1.475, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.974/2.974, allocations: 482.4 MB / 0.7543 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 73.8 kB / 0.9233 GB, free: 29.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3456, allocations: 162.2 MB / 1.082 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002908/0.3486, allocations: 1.501 MB / 1.083 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004408/0.3491, allocations: 195.4 kB / 1.083 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.205e-05/0.3491, allocations: 0 / 1.083 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.489e-05/0.3492, allocations: 0 / 1.083 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.874e-05/0.3492, allocations: 7.938 kB / 1.083 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.3495, allocations: 31.97 kB / 1.083 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.916e-05/0.3496, allocations: 31.86 kB / 1.083 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.78e-05/0.3497, allocations: 4 kB / 1.083 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.823e-05/0.3497, allocations: 7.984 kB / 1.083 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.818e-05/0.3498, allocations: 11.94 kB / 1.083 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.3498, allocations: 4 kB / 1.083 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.394e-05/0.3499, allocations: 35.95 kB / 1.084 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.3499, allocations: 3.984 kB / 1.084 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.3499, allocations: 11.94 kB / 1.084 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.3501, allocations: 43.88 kB / 1.084 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3501, allocations: 0 / 1.084 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3501, allocations: 4 kB / 1.084 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.3501, allocations: 0 / 1.084 GB, free: 11.72 MB / 0.8419 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.0004729/0.3506, allocations: 339.7 kB / 1.084 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.3506, allocations: 12.03 kB / 1.084 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.3507, allocations: 0.9375 kB / 1.084 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.3508, allocations: 168.3 kB / 1.084 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.3508, allocations: 8.375 kB / 1.084 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.745e-06/0.3509, allocations: 4.312 kB / 1.084 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.351, allocations: 50.23 kB / 1.084 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.351, allocations: 192 / 1.084 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.3511, allocations: 3.938 kB / 1.084 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3511, allocations: 0 / 1.084 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.3512, allocations: 39.95 kB / 1.084 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003471/0.3516, allocations: 253 kB / 1.084 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.3517, allocations: 46.42 kB / 1.084 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.424e-05/0.3518, allocations: 24.91 kB / 1.084 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.502e-05/0.3519, allocations: 77.11 kB / 1.085 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.352, allocations: 38.56 kB / 1.085 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.352, allocations: 0 / 1.085 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003598/0.3523, allocations: 81.64 kB / 1.085 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.3524, allocations: 51.41 kB / 1.085 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.628e-05/0.3525, allocations: 105.8 kB / 1.085 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.3525, allocations: 25.7 kB / 1.085 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.911e-05/0.3526, allocations: 88.27 kB / 1.085 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.3526, allocations: 3.906 kB / 1.085 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.554e-05/0.3526, allocations: 17.72 kB / 1.085 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3528, allocations: 318.8 kB / 1.085 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.367e-05/0.3529, allocations: 19.92 kB / 1.085 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.905e-05/0.3529, allocations: 15.98 kB / 1.085 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.3531, allocations: 40.88 kB / 1.085 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3531, allocations: 0 / 1.085 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001869/0.3533, allocations: 69.61 kB / 1.085 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3533, allocations: 8 kB / 1.085 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.3533, allocations: 0 / 1.085 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.3533, allocations: 7.922 kB / 1.085 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.508e-05/0.3534, allocations: 4 kB / 1.085 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.3535, allocations: 4.031 kB / 1.085 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.604e-05/0.3535, allocations: 7.984 kB / 1.085 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.3535, allocations: 4 kB / 1.085 GB, free: 9.574 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 8.145e-05/0.3536, allocations: 109.8 kB / 1.086 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.3536, allocations: 3.906 kB / 1.086 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.3539, allocations: 76.78 kB / 1.086 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3539, allocations: 0 / 1.086 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3539, allocations: 3.984 kB / 1.086 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3539, allocations: 0 / 1.086 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.3541, allocations: 165.5 kB / 1.086 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3541, allocations: 0 / 1.086 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.92e-05/0.3542, allocations: 11.92 kB / 1.086 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3542, allocations: 0 / 1.086 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.3542, allocations: 0 / 1.086 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.3542, allocations: 4 kB / 1.086 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3542, allocations: 256 / 1.086 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.3545, allocations: 167.5 kB / 1.086 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.22e-05/0.3545, allocations: 77.11 kB / 1.086 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.3545, allocations: 4 kB / 1.086 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.441e-05/0.3546, allocations: 7.984 kB / 1.086 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.3547, allocations: 0 / 1.086 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.3547, allocations: 12.03 kB / 1.086 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.515e-05/0.3547, allocations: 83.27 kB / 1.086 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3547, allocations: 0 / 1.086 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000232/0.355, allocations: 12 kB / 1.086 GB, free: 8.754 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.0001902/0.3552, allocations: 103.2 kB / 1.086 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002254/0.3554, allocations: 47.83 kB / 1.086 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.3554, allocations: 4.062 kB / 1.086 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.103e-05/0.3555, allocations: 15.98 kB / 1.086 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.3558, allocations: 12.95 kB / 1.086 GB, free: 8.566 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002827/0.3561, allocations: 121.3 kB / 1.086 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.3564, allocations: 0.6768 MB / 1.087 GB, free: 7.715 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.542e-05/0.3565, allocations: 4.062 kB / 1.087 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.926e-05/0.3565, allocations: 7.438 kB / 1.087 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.3565, allocations: 0 / 1.087 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of Templates: time 0.003014/0.3595, allocations: 0.5244 MB / 1.088 GB, free: 7.184 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/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