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.001126/0.001126, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001269/0.001269, allocations: 190.4 kB / 16.25 MB, free: 6.648 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.491/1.491, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.864/2.864, allocations: 472.7 MB / 0.7448 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 66.75 kB / 0.9116 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3332, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.003047/0.3363, allocations: 1.506 MB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004344/0.3368, allocations: 187.5 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.907e-05/0.3368, allocations: 4 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.417e-05/0.3369, allocations: 0 / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.61e-05/0.3369, allocations: 0 / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.3373, allocations: 35.89 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.531e-05/0.3373, allocations: 31.86 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.369e-05/0.3374, allocations: 4 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.82e-05/0.3375, allocations: 4 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.356e-05/0.3375, allocations: 19.92 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.3376, allocations: 4 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.344e-05/0.3376, allocations: 35.95 kB / 1.07 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.553e-05/0.3377, allocations: 7.984 kB / 1.07 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.3377, allocations: 7.938 kB / 1.07 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.3378, allocations: 39.88 kB / 1.07 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3378, allocations: 0 / 1.07 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3378, allocations: 0 / 1.07 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.3378, allocations: 0 / 1.07 GB, free: 8.906 MB / 0.8262 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.0004413/0.3383, allocations: 347.7 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.3383, allocations: 12.03 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.3384, allocations: 0.9375 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.994e-05/0.3385, allocations: 168.4 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.3385, allocations: 4.375 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.3385, allocations: 4.359 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.3387, allocations: 54.17 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.974e-06/0.3387, allocations: 192 / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.3387, allocations: 3.938 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.3387, allocations: 4 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.3389, allocations: 31.97 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002946/0.3392, allocations: 248.9 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.3393, allocations: 38.5 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.249e-05/0.3394, allocations: 32.84 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-05/0.3395, allocations: 81.09 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.3395, allocations: 38.5 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3395, allocations: 0 / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003348/0.3399, allocations: 77.64 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.3399, allocations: 63.47 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.74e-05/0.34, allocations: 101.8 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.34, allocations: 25.7 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.264e-05/0.3401, allocations: 84.14 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.3401, allocations: 7.906 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/0.3401, allocations: 9.719 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.874e-05/0.3402, allocations: 314.8 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.418e-05/0.3403, allocations: 28.16 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.864e-05/0.3404, allocations: 11.98 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.3405, allocations: 44.83 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3405, allocations: 0 / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000183/0.3407, allocations: 73.66 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.3408, allocations: 4 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.3408, allocations: 0 / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.3408, allocations: 4 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.367e-05/0.3409, allocations: 7.984 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.217e-06/0.3409, allocations: 0 / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.36e-05/0.3409, allocations: 4 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.3409, allocations: 3.984 kB / 1.071 GB, free: 6.766 MB / 0.8262 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 6.392e-05/0.341, allocations: 117.7 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.341, allocations: 11.94 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/0.3413, allocations: 68.78 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3413, allocations: 0 / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3413, allocations: 0 / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.3413, allocations: 0 / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.3415, allocations: 165.5 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3415, allocations: 0 / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.53e-05/0.3415, allocations: 8.031 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3415, allocations: 4 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.3415, allocations: 3.984 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3415, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3416, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.3418, allocations: 167.4 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.158e-05/0.3418, allocations: 81.14 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.3418, allocations: 4 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.356e-05/0.3419, allocations: 7.938 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.342, allocations: 7.984 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.342, allocations: 0 / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.431e-05/0.342, allocations: 79.28 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.342, allocations: 3.938 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002233/0.3422, allocations: 16 kB / 1.072 GB, free: 5.934 MB / 0.8262 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.0001505/0.3424, allocations: 111.2 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002106/0.3426, allocations: 39.91 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3426, allocations: 0 / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.278e-05/0.3427, allocations: 19.97 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.343, allocations: 8.125 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002515/0.3432, allocations: 121.5 kB / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002053/0.3435, allocations: 0.6768 MB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.575e-05/0.3435, allocations: 3.984 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.766e-05/0.3435, allocations: 7.438 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3435, allocations: 0 / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of Templates: time 0.002466/0.346, allocations: 0.5276 MB / 1.074 GB, free: 4.359 MB / 0.8262 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches