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.001203/0.001203, allocations: 108.7 kB / 16.41 MB, free: 6.469 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.001298/0.001298, allocations: 189.4 kB / 17.35 MB, free: 5.711 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.425/1.425, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.762/2.762, allocations: 472.7 MB / 0.746 GB, free: 488 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 67.84 kB / 1.07 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.105/1.106, allocations: 159.9 MB / 1.226 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.003431/1.11, allocations: 1.436 MB / 1.228 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0008118/1.111, allocations: 195.4 kB / 1.228 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.363e-05/1.111, allocations: 0 / 1.228 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 5.872e-05/1.111, allocations: 3.938 kB / 1.228 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.708e-05/1.111, allocations: 3.984 kB / 1.228 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005742/1.111, allocations: 39.84 kB / 1.228 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001188/1.112, allocations: 19.98 kB / 1.228 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/1.112, allocations: 8 kB / 1.228 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.395e-05/1.112, allocations: 15.92 kB / 1.228 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.016e-05/1.112, allocations: 11.92 kB / 1.228 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/1.112, allocations: 7.938 kB / 1.228 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/1.112, allocations: 39.95 kB / 1.228 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.311e-05/1.112, allocations: 0 / 1.228 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.818e-05/1.112, allocations: 11.94 kB / 1.228 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002219/1.112, allocations: 40.86 kB / 1.228 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/1.112, allocations: 0 / 1.228 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.856e-06/1.112, allocations: 0 / 1.228 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.518e-06/1.112, allocations: 4 kB / 1.228 GB, free: 11.68 MB / 0.9512 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.0007448/1.113, allocations: 350.9 kB / 1.228 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.505e-05/1.113, allocations: 8.031 kB / 1.228 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.645e-05/1.113, allocations: 4.891 kB / 1.228 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/1.114, allocations: 164.4 kB / 1.229 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/1.114, allocations: 384 / 1.229 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/1.114, allocations: 4.312 kB / 1.229 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/1.114, allocations: 50.23 kB / 1.229 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/1.114, allocations: 4.188 kB / 1.229 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/1.114, allocations: 3.938 kB / 1.229 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/1.114, allocations: 4 kB / 1.229 GB, free: 11 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001968/1.114, allocations: 43.89 kB / 1.229 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004765/1.115, allocations: 241 kB / 1.229 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/1.115, allocations: 46.48 kB / 1.229 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.602e-05/1.115, allocations: 24.91 kB / 1.229 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/1.115, allocations: 81.11 kB / 1.229 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/1.115, allocations: 34.5 kB / 1.229 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.814e-06/1.115, allocations: 0 / 1.229 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0004207/1.116, allocations: 89.59 kB / 1.229 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/1.116, allocations: 51.41 kB / 1.229 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.999e-05/1.116, allocations: 97.84 kB / 1.229 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/1.116, allocations: 33.7 kB / 1.229 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.782e-05/1.116, allocations: 80.14 kB / 1.229 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/1.116, allocations: 3.953 kB / 1.229 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-05/1.116, allocations: 17.72 kB / 1.23 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001647/1.116, allocations: 319 kB / 1.23 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.097e-05/1.116, allocations: 11.98 kB / 1.23 GB, free: 9.711 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.092e-05/1.116, allocations: 19.98 kB / 1.23 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/1.116, allocations: 40.75 kB / 1.23 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/1.116, allocations: 0 / 1.23 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002138/1.117, allocations: 69.67 kB / 1.23 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/1.117, allocations: 11.94 kB / 1.23 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/1.117, allocations: 0 / 1.23 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/1.117, allocations: 0 / 1.23 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/1.117, allocations: 11.98 kB / 1.23 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/1.117, allocations: 0 / 1.23 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.502e-05/1.117, allocations: 7.984 kB / 1.23 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/1.117, allocations: 4 kB / 1.23 GB, free: 9.539 MB / 0.9512 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.596e-05/1.117, allocations: 113.8 kB / 1.23 GB, free: 9.418 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/1.117, allocations: 7.891 kB / 1.23 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002506/1.117, allocations: 76.72 kB / 1.23 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/1.117, allocations: 0 / 1.23 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/1.117, allocations: 0 / 1.23 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.581e-05/1.117, allocations: 81.09 kB / 1.23 GB, free: 9.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/1.117, allocations: 4 kB / 1.23 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/1.117, allocations: 8.031 kB / 1.23 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/1.117, allocations: 7.969 kB / 1.23 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002525/1.118, allocations: 148.9 kB / 1.23 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002555/1.118, allocations: 242.7 kB / 1.231 GB, free: 8.805 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.444e-05/1.118, allocations: 19.98 kB / 1.231 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.187e-05/1.118, allocations: 87.52 kB / 1.231 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of Backend: time 4.31e-07/1.118, allocations: 0 / 1.231 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004934/1.119, allocations: 103.6 kB / 1.231 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005231/1.119, allocations: 0.5494 MB / 1.231 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of Templates: time 0.003236/1.122, allocations: 0.6924 MB / 1.232 GB, free: 7.301 MB / 0.9512 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