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.009369/0.009369, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001617/0.001617, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.331/2.331, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 67.89 kB / 0.9508 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.099/1.101, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002723/1.104, allocations: 1.435 MB / 1.089 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004811/1.104, allocations: 197.1 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.727e-05/1.104, allocations: 4 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.427e-05/1.104, allocations: 1.766 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.904e-05/1.104, allocations: 4.5 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/1.105, allocations: 33.69 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.709e-05/1.105, allocations: 32.62 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/1.105, allocations: 4.594 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.622e-05/1.105, allocations: 12.94 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.721e-05/1.105, allocations: 9.531 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/1.105, allocations: 2.562 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/1.105, allocations: 37.36 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/1.105, allocations: 6.25 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.954e-05/1.105, allocations: 11.44 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001461/1.105, allocations: 36.7 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.105, allocations: 0 / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.294e-06/1.105, allocations: 0.8125 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.224e-06/1.105, allocations: 0 / 1.09 GB, free: 4.32 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.0004762/1.106, allocations: 347.6 kB / 1.09 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/1.106, allocations: 9.531 kB / 1.09 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.314e-05/1.106, allocations: 10.19 kB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.252e-05/1.106, allocations: 171.2 kB / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/1.106, allocations: 9.438 kB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/1.106, allocations: 1.312 kB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/1.106, allocations: 49.2 kB / 1.09 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/1.106, allocations: 1.406 kB / 1.09 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/1.106, allocations: 4.734 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/1.106, allocations: 0 / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/1.106, allocations: 41.83 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003035/1.107, allocations: 243.5 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/1.107, allocations: 44.53 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.993e-05/1.107, allocations: 23.31 kB / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.738e-05/1.107, allocations: 85.28 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.458e-05/1.107, allocations: 31.5 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/1.107, allocations: 1 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003687/1.107, allocations: 84.17 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/1.108, allocations: 52.2 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.712e-05/1.108, allocations: 106.6 kB / 1.091 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/1.108, allocations: 26.61 kB / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.587e-05/1.108, allocations: 81.81 kB / 1.091 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/1.108, allocations: 9.219 kB / 1.091 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/1.108, allocations: 16.95 kB / 1.091 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.28e-05/1.108, allocations: 313.5 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-05/1.108, allocations: 17.91 kB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.938e-05/1.108, allocations: 18.28 kB / 1.091 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/1.108, allocations: 37.66 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.108, allocations: 1.094 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001961/1.108, allocations: 74.77 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/1.108, allocations: 5.938 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/1.108, allocations: 4.094 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/1.108, allocations: 2.125 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.426e-05/1.108, allocations: 8.031 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/1.109, allocations: 0 / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.946e-05/1.109, allocations: 10.34 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/1.109, allocations: 1.031 kB / 1.092 GB, free: 2.496 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 5.794e-05/1.109, allocations: 120.7 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/1.109, allocations: 6 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/1.109, allocations: 75.61 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/1.109, allocations: 0.7969 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.109, allocations: 1.125 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/1.109, allocations: 0 / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/1.109, allocations: 165 kB / 1.092 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/1.109, allocations: 0 / 1.092 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.931e-05/1.109, allocations: 9.281 kB / 1.092 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/1.109, allocations: 4.734 kB / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/1.109, allocations: 4.938 kB / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/1.109, allocations: 0 / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.109, allocations: 1.281 kB / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/1.109, allocations: 162.3 kB / 1.092 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.165e-05/1.109, allocations: 83.11 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/1.109, allocations: 5.938 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.647e-05/1.11, allocations: 10.19 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/1.11, allocations: 1.734 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/1.11, allocations: 1.781 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.759e-05/1.11, allocations: 85.16 kB / 1.092 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/1.11, allocations: 0 / 1.092 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002351/1.11, allocations: 8.688 kB / 1.092 GB, free: 1.789 MB / 0.8575 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.0001831/1.11, allocations: 108.7 kB / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002353/1.11, allocations: 43.75 kB / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.11, allocations: 0.6562 kB / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.366e-05/1.11, allocations: 15.84 kB / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/1.111, allocations: 6.531 kB / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002676/1.111, allocations: 106.8 kB / 1.093 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/1.111, allocations: 0.6804 MB / 1.093 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.646e-05/1.111, allocations: 5.672 kB / 1.093 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.949e-05/1.111, allocations: 9.156 kB / 1.093 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/1.111, allocations: 0 / 1.093 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of Templates: time 0.003263/1.114, allocations: 0.5826 MB / 1.094 GB, free: 0.7812 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches