Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_9_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.001618/0.001618, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001896/0.001896, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.439/1.439, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.224/2.224, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 67.91 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08/1.081, allocations: 140.4 MB / 1.089 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002771/1.084, allocations: 1.421 MB / 1.09 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004774/1.084, allocations: 198.3 kB / 1.09 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.747e-05/1.084, allocations: 0 / 1.09 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.124e-05/1.084, allocations: 9.562 kB / 1.09 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.829e-05/1.084, allocations: 3.938 kB / 1.09 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/1.085, allocations: 38.41 kB / 1.09 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.819e-05/1.085, allocations: 28.25 kB / 1.09 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.886e-05/1.085, allocations: 8.719 kB / 1.09 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.632e-05/1.085, allocations: 8.594 kB / 1.09 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.544e-05/1.085, allocations: 18.39 kB / 1.09 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/1.085, allocations: 2.25 kB / 1.09 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/1.085, allocations: 33.11 kB / 1.09 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.622e-05/1.085, allocations: 6.688 kB / 1.09 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.518e-05/1.085, allocations: 10.64 kB / 1.09 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/1.085, allocations: 40.39 kB / 1.09 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/1.085, allocations: 0 / 1.09 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.234e-06/1.085, allocations: 1.281 kB / 1.09 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.07e-06/1.085, allocations: 0 / 1.09 GB, free: 4.559 MB / 0.8575 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.0004505/1.086, allocations: 344.8 kB / 1.091 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/1.086, allocations: 9.5 kB / 1.091 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.859e-05/1.086, allocations: 2.062 kB / 1.091 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.86e-05/1.086, allocations: 167.4 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/1.086, allocations: 2.156 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/1.086, allocations: 5.594 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/1.086, allocations: 49.17 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/1.086, allocations: 0.9844 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/1.086, allocations: 7.938 kB / 1.091 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/1.086, allocations: 1.125 kB / 1.091 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002297/1.087, allocations: 40.19 kB / 1.091 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/1.087, allocations: 248.3 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/1.087, allocations: 40.66 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/1.087, allocations: 27.31 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.444e-05/1.087, allocations: 81.84 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/1.087, allocations: 42.95 kB / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.643e-06/1.087, allocations: 0 / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0004654/1.088, allocations: 84.64 kB / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/1.088, allocations: 52.09 kB / 1.092 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.412e-05/1.088, allocations: 102.4 kB / 1.092 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.789e-06/1.088, allocations: 27.28 kB / 1.092 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.12e-05/1.088, allocations: 85.77 kB / 1.092 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/1.088, allocations: 5.734 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/1.088, allocations: 16.38 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.085e-05/1.088, allocations: 312.9 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/1.088, allocations: 19.02 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/1.088, allocations: 13.67 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/1.089, allocations: 46.14 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.089, allocations: 0 / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002758/1.089, allocations: 72 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/1.089, allocations: 4.656 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/1.089, allocations: 1.875 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/1.089, allocations: 0 / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/1.089, allocations: 12.61 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/1.089, allocations: 1.156 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.438e-05/1.089, allocations: 6.078 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/1.089, allocations: 1.625 kB / 1.092 GB, free: 2.742 MB / 0.8575 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.063e-05/1.089, allocations: 107.4 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/1.089, allocations: 5.656 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003056/1.09, allocations: 80.89 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.09, allocations: 0 / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/1.09, allocations: 0 / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.556e-05/1.09, allocations: 82.69 kB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/1.09, allocations: 1.672 kB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/1.09, allocations: 6.125 kB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/1.09, allocations: 2.719 kB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003242/1.09, allocations: 159.5 kB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003059/1.091, allocations: 238.7 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001211/1.091, allocations: 19.25 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.266e-05/1.091, allocations: 93.56 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of Backend: time 3.51e-07/1.091, allocations: 0 / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006915/1.091, allocations: 106.9 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004651/1.092, allocations: 0.5541 MB / 1.094 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of Templates: time 0.004638/1.097, allocations: 0.6877 MB / 1.094 GB, free: 1.305 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches