Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_10_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.001445/0.001445, allocations: 110.7 kB / 16.42 MB, free: 6.504 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.001638/0.001638, allocations: 185.7 kB / 17.34 MB, free: 5.758 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.434/1.434, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.5/2.5, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 63.91 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078/1.08, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.003535/1.083, allocations: 1.435 MB / 1.169 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0005659/1.084, allocations: 206.6 kB / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.391e-05/1.084, allocations: 0 / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.468e-05/1.084, allocations: 0 / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.386e-05/1.084, allocations: 3.938 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003709/1.084, allocations: 33.41 kB / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.659e-05/1.085, allocations: 23.92 kB / 1.169 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/1.085, allocations: 15.98 kB / 1.169 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.158e-05/1.085, allocations: 7.922 kB / 1.169 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.533e-05/1.085, allocations: 11.98 kB / 1.169 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/1.085, allocations: 4 kB / 1.169 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/1.085, allocations: 31.97 kB / 1.169 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/1.085, allocations: 7.938 kB / 1.169 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.017e-05/1.085, allocations: 11.94 kB / 1.169 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/1.085, allocations: 39.44 kB / 1.169 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/1.085, allocations: 4 kB / 1.169 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.948e-06/1.085, allocations: 0 / 1.169 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.761e-06/1.085, allocations: 7.938 kB / 1.169 GB, free: 2.02 MB / 0.8887 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.0005733/1.086, allocations: 340.4 kB / 1.169 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/1.086, allocations: 12.92 kB / 1.169 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.709e-05/1.086, allocations: 4.891 kB / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/1.086, allocations: 164.3 kB / 1.17 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/1.086, allocations: 4.375 kB / 1.17 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/1.086, allocations: 384 / 1.17 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/1.086, allocations: 58.22 kB / 1.17 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/1.086, allocations: 192 / 1.17 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/1.086, allocations: 3.938 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/1.086, allocations: 0 / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/1.087, allocations: 35.95 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/1.087, allocations: 248.9 kB / 1.17 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/1.087, allocations: 46.53 kB / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.892e-05/1.087, allocations: 20.91 kB / 1.17 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/1.087, allocations: 77.11 kB / 1.17 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/1.087, allocations: 34.56 kB / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/1.087, allocations: 0 / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003852/1.088, allocations: 93.53 kB / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/1.088, allocations: 51.41 kB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/1.088, allocations: 101.8 kB / 1.17 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/1.088, allocations: 25.7 kB / 1.17 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.675e-05/1.088, allocations: 92.08 kB / 1.17 GB, free: 424 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/1.088, allocations: 3.953 kB / 1.17 GB, free: 420 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/1.088, allocations: 13.7 kB / 1.17 GB, free: 400 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.088, allocations: 323 kB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.271e-05/1.088, allocations: 11.98 kB / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.505e-05/1.088, allocations: 15.98 kB / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/1.089, allocations: 40.86 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/1.089, allocations: 0 / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002012/1.089, allocations: 73.56 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/1.089, allocations: 7.984 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/1.089, allocations: 4 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/1.089, allocations: 0 / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.688e-05/1.089, allocations: 7.938 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/1.089, allocations: 0 / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.829e-05/1.089, allocations: 7.984 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/1.089, allocations: 32 / 1.171 GB, free: 15.89 MB / 0.9044 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 9.375e-05/1.089, allocations: 121.8 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/1.089, allocations: 3.938 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002635/1.089, allocations: 76.77 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/1.089, allocations: 3.938 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/1.089, allocations: 256 / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-05/1.09, allocations: 81.06 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/1.09, allocations: 8.031 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.298e-05/1.09, allocations: 7.984 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/1.09, allocations: 4 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003034/1.09, allocations: 148.9 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002967/1.09, allocations: 242.8 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.744e-05/1.09, allocations: 23.97 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.512e-05/1.09, allocations: 79.28 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of Backend: time 4.11e-07/1.09, allocations: 0 / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004953/1.091, allocations: 106.4 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005557/1.092, allocations: 0.5531 MB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of Templates: time 0.003332/1.095, allocations: 0.6783 MB / 1.173 GB, free: 13.65 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches