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.001559/0.001559, allocations: 106.7 kB / 16.41 MB, free: 6.406 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.001839/0.00184, allocations: 185 kB / 17.34 MB, free: 5.723 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.445/1.445, allocations: 222.9 MB / 241 MB, free: 15.09 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.597/2.597, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 59.91 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9258/0.9273, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002923/0.9303, allocations: 1.441 MB / 1.169 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004979/0.9308, allocations: 190.7 kB / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.672e-05/0.9309, allocations: 0 / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.396e-05/0.931, allocations: 15.92 kB / 1.169 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.501e-05/0.931, allocations: 0 / 1.169 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003512/0.9314, allocations: 35.83 kB / 1.169 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.192e-05/0.9315, allocations: 19.94 kB / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.9316, allocations: 11.98 kB / 1.169 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.143e-05/0.9316, allocations: 7.938 kB / 1.169 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.252e-05/0.9317, allocations: 11.98 kB / 1.169 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.9317, allocations: 3.938 kB / 1.169 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.9318, allocations: 35.97 kB / 1.169 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.8e-05/0.9319, allocations: 11.98 kB / 1.169 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.032e-05/0.9319, allocations: 7.922 kB / 1.169 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.9321, allocations: 43.34 kB / 1.169 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.9321, allocations: 4 kB / 1.169 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.244e-06/0.9321, allocations: 0 / 1.169 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.9322, allocations: 0 / 1.169 GB, free: 1.973 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.0005233/0.9327, allocations: 340.4 kB / 1.169 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.9327, allocations: 12.92 kB / 1.169 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.981e-05/0.9328, allocations: 8.891 kB / 1.169 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.9329, allocations: 168.4 kB / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.933, allocations: 4.375 kB / 1.17 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.933, allocations: 384 / 1.17 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.9332, allocations: 50.23 kB / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.9332, allocations: 192 / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.9332, allocations: 3.938 kB / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.9332, allocations: 0 / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.9334, allocations: 39.91 kB / 1.17 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/0.9338, allocations: 249 kB / 1.17 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.9339, allocations: 38.5 kB / 1.17 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.934, allocations: 24.91 kB / 1.17 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001173/0.9342, allocations: 81.09 kB / 1.17 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.9342, allocations: 38.56 kB / 1.17 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.9342, allocations: 4 kB / 1.17 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003554/0.9346, allocations: 85.53 kB / 1.17 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.9346, allocations: 55.41 kB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.9348, allocations: 97.86 kB / 1.17 GB, free: 500 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.9348, allocations: 25.83 kB / 1.17 GB, free: 468 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.716e-05/0.9348, allocations: 92.12 kB / 1.17 GB, free: 372 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.9349, allocations: 7.953 kB / 1.17 GB, free: 364 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/0.9349, allocations: 9.719 kB / 1.17 GB, free: 348 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002004/0.9351, allocations: 314.8 kB / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.912e-05/0.9352, allocations: 19.97 kB / 1.171 GB, free: 4 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.219e-05/0.9353, allocations: 11.98 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.9354, allocations: 48.83 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.9354, allocations: 0 / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00019/0.9356, allocations: 69.59 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.9357, allocations: 11.88 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.9357, allocations: 0 / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.9357, allocations: 4 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.815e-05/0.9358, allocations: 12.02 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.9358, allocations: 0 / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.461e-05/0.9359, allocations: 4 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.9359, allocations: 0 / 1.171 GB, free: 15.84 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 8.495e-05/0.936, allocations: 125.7 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.936, allocations: 0 / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.9362, allocations: 76.72 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.9362, allocations: 0 / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.9363, allocations: 0 / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.9363, allocations: 0 / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.9364, allocations: 165.5 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.9365, allocations: 0 / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.309e-05/0.9365, allocations: 8 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.9365, allocations: 3.984 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.9365, allocations: 4 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.9365, allocations: 3.984 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.9366, allocations: 4.031 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.9368, allocations: 159.4 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/0.9368, allocations: 85.09 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.9369, allocations: 256 / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.9369, allocations: 8 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.937, allocations: 12.02 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-06/0.937, allocations: 0 / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.085e-05/0.937, allocations: 79.28 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.937, allocations: 0 / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002267/0.9373, allocations: 12 kB / 1.172 GB, free: 15 MB / 0.9044 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.0001809/0.9375, allocations: 107.2 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002043/0.9377, allocations: 39.97 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.9377, allocations: 0 / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 7.796e-05/0.9378, allocations: 19.92 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.9381, allocations: 14.58 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003307/0.9384, allocations: 135.1 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.9388, allocations: 0.6806 MB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.9388, allocations: 7.438 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of SimCode: time 4.61e-07/0.9388, allocations: 4.125 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of Templates: time 0.002294/0.9411, allocations: 0.6717 MB / 1.173 GB, free: 13.26 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