Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_11_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.001544/0.001544, allocations: 105 kB / 15.98 MB, free: 6.352 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.001547/0.001547, allocations: 195.3 kB / 16.91 MB, free: 6.184 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.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.702/2.702, allocations: 469.8 MB / 0.7427 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 62.94 kB / 0.9087 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.339, allocations: 159.2 MB / 1.064 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002768/0.3418, allocations: 1.506 MB / 1.066 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004083/0.3422, allocations: 183.5 kB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.904e-05/0.3423, allocations: 0 / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.246e-05/0.3423, allocations: 3.984 kB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.176e-05/0.3424, allocations: 0 / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.3426, allocations: 39.91 kB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.805e-05/0.3427, allocations: 23.92 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.61e-05/0.3428, allocations: 11.94 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.665e-05/0.3428, allocations: 8 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.664e-05/0.3429, allocations: 11.92 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.3429, allocations: 4 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.296e-05/0.343, allocations: 35.95 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.343, allocations: 3.984 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.343, allocations: 11.94 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.504e-05/0.3431, allocations: 23.97 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3431, allocations: 3.984 kB / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3431, allocations: 0 / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.3431, allocations: 0 / 1.066 GB, free: 13.26 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.0004815/0.3436, allocations: 347.7 kB / 1.066 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.3437, allocations: 8.031 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.796e-05/0.3437, allocations: 8.875 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.3438, allocations: 164.4 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.3439, allocations: 384 / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.3439, allocations: 8.375 kB / 1.066 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.3441, allocations: 46.22 kB / 1.067 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3441, allocations: 8.188 kB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.3441, allocations: 7.938 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3441, allocations: 3.938 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.3443, allocations: 35.95 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003497/0.3446, allocations: 244.9 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.3448, allocations: 46.48 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.826e-05/0.3449, allocations: 20.91 kB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.657e-05/0.345, allocations: 81.11 kB / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.345, allocations: 38.44 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.345, allocations: 0 / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003591/0.3454, allocations: 85.64 kB / 1.067 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.3454, allocations: 51.41 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.941e-05/0.3456, allocations: 105.8 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.3456, allocations: 25.7 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.628e-05/0.3456, allocations: 80.14 kB / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.3457, allocations: 7.906 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.3457, allocations: 13.72 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3458, allocations: 319 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.388e-05/0.3459, allocations: 19.98 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.125e-05/0.346, allocations: 11.98 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.3462, allocations: 44.75 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3462, allocations: 0 / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001993/0.3464, allocations: 73.92 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.3464, allocations: 4 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.3464, allocations: 0 / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3464, allocations: 4 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.208e-05/0.3465, allocations: 11.98 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.3466, allocations: 0 / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.988e-05/0.3466, allocations: 7.984 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.3466, allocations: 0 / 1.068 GB, free: 11.12 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.775e-05/0.3467, allocations: 114.5 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.3467, allocations: 4 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/0.347, allocations: 72.72 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.347, allocations: 4 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.347, allocations: 0 / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.347, allocations: 3.984 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.3472, allocations: 165.5 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3472, allocations: 7.969 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.055e-05/0.3473, allocations: 11.98 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.3473, allocations: 0 / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.3473, allocations: 0 / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3473, allocations: 0 / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.3473, allocations: 0 / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.3476, allocations: 175.3 kB / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/0.3476, allocations: 77.11 kB / 1.068 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.3476, allocations: 4 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.449e-05/0.3477, allocations: 3.984 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.3478, allocations: 4 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.3478, allocations: 0 / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.793e-05/0.3478, allocations: 87.27 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3478, allocations: 0 / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002333/0.3481, allocations: 12 kB / 1.069 GB, free: 10.29 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.000171/0.3483, allocations: 107.3 kB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002229/0.3485, allocations: 43.95 kB / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3485, allocations: 0 / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.332e-05/0.3486, allocations: 19.92 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.3489, allocations: 7.766 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002879/0.3492, allocations: 147.2 kB / 1.069 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.3495, allocations: 0.6768 MB / 1.069 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.302e-05/0.3496, allocations: 11.44 kB / 1.07 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3496, allocations: 0 / 1.07 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of Templates: time 0.002184/0.3518, allocations: 0.6718 MB / 1.07 GB, free: 8.547 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches