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.001461/0.001461, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001656/0.001656, allocations: 195.1 kB / 16.14 MB, free: 6.645 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.461/1.461, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.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.415/2.415, allocations: 390.2 MB / 0.6642 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001529, allocations: 63.91 kB / 0.8118 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8319/0.8335, allocations: 140.4 MB / 0.9489 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.004011/0.8376, allocations: 1.501 MB / 0.9504 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00065/0.8383, allocations: 195 kB / 0.9506 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.662e-05/0.8383, allocations: 3.938 kB / 0.9506 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.883e-05/0.8384, allocations: 1.375 kB / 0.9506 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.186e-05/0.8385, allocations: 4 kB / 0.9506 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003769/0.8389, allocations: 29.53 kB / 0.9506 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.931e-05/0.839, allocations: 20.19 kB / 0.9506 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.8391, allocations: 8.109 kB / 0.9506 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.566e-05/0.8392, allocations: 10.69 kB / 0.9506 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.978e-05/0.8393, allocations: 16.09 kB / 0.9507 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.8393, allocations: 1.375 kB / 0.9507 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.8394, allocations: 31.09 kB / 0.9507 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.483e-05/0.8395, allocations: 5.312 kB / 0.9507 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.8395, allocations: 13.36 kB / 0.9507 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.8397, allocations: 34.88 kB / 0.9507 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.136e-05/0.8397, allocations: 4 kB / 0.9507 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.294e-06/0.8397, allocations: 0 / 0.9507 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.8397, allocations: 1.375 kB / 0.9507 GB, free: 7.652 MB / 0.7169 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.0006616/0.8404, allocations: 344.5 kB / 0.9511 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.128e-05/0.8405, allocations: 8.25 kB / 0.9511 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.521e-05/0.8406, allocations: 3.688 kB / 0.9511 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.8407, allocations: 173.6 kB / 0.9512 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.8407, allocations: 4.375 kB / 0.9513 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.8407, allocations: 1.75 kB / 0.9513 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.841, allocations: 58.53 kB / 0.9513 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.841, allocations: 192 / 0.9513 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.841, allocations: 3.938 kB / 0.9513 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.8411, allocations: 5.312 kB / 0.9513 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.8412, allocations: 29.84 kB / 0.9513 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004447/0.8417, allocations: 250.6 kB / 0.9516 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.8419, allocations: 38.88 kB / 0.9516 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.833e-05/0.842, allocations: 22.47 kB / 0.9516 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/0.8421, allocations: 83.84 kB / 0.9517 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.8421, allocations: 47.59 kB / 0.9518 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.8421, allocations: 0 / 0.9518 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004026/0.8426, allocations: 81.7 kB / 0.9518 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.8426, allocations: 51.41 kB / 0.9519 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.691e-05/0.8427, allocations: 100.4 kB / 0.952 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.8427, allocations: 25.7 kB / 0.952 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/0.8428, allocations: 89.72 kB / 0.9521 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.8428, allocations: 8.969 kB / 0.9521 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.8428, allocations: 12.47 kB / 0.9521 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.628e-05/0.8429, allocations: 312.2 kB / 0.9524 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.84e-05/0.843, allocations: 16.33 kB / 0.9524 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.846e-05/0.8431, allocations: 18.44 kB / 0.9525 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.8433, allocations: 47.48 kB / 0.9525 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.8433, allocations: 0 / 0.9525 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001912/0.8435, allocations: 73.22 kB / 0.9526 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.8435, allocations: 6.906 kB / 0.9526 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.8435, allocations: 0 / 0.9526 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.8436, allocations: 1.031 kB / 0.9526 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.8437, allocations: 14.2 kB / 0.9526 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.8437, allocations: 0 / 0.9526 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.688e-05/0.8437, allocations: 4.062 kB / 0.9526 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.8437, allocations: 1.25 kB / 0.9526 GB, free: 5.727 MB / 0.7169 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.176e-05/0.8438, allocations: 119.1 kB / 0.9527 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.8439, allocations: 1.219 kB / 0.9527 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.8441, allocations: 78.75 kB / 0.9528 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.8441, allocations: 1.188 kB / 0.9528 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.8441, allocations: 3.938 kB / 0.9528 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.8441, allocations: 1.344 kB / 0.9528 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.8443, allocations: 161.2 kB / 0.9529 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.8443, allocations: 1.312 kB / 0.9529 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.445e-05/0.8443, allocations: 6.312 kB / 0.953 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.8443, allocations: 0 / 0.953 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.8444, allocations: 4 kB / 0.953 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.8444, allocations: 1 kB / 0.953 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.8444, allocations: 8.016 kB / 0.953 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.8446, allocations: 159.2 kB / 0.9531 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.171e-05/0.8446, allocations: 86.38 kB / 0.9532 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.8447, allocations: 1.25 kB / 0.9532 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-05/0.8447, allocations: 7.531 kB / 0.9532 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.8448, allocations: 9.547 kB / 0.9532 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.8448, allocations: 0 / 0.9532 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.719e-05/0.8448, allocations: 80.62 kB / 0.9533 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8448, allocations: 3.938 kB / 0.9533 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000241/0.8451, allocations: 8.312 kB / 0.9533 GB, free: 4.98 MB / 0.7169 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.0001909/0.8453, allocations: 110.6 kB / 0.9534 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002398/0.8455, allocations: 32.91 kB / 0.9534 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.8456, allocations: 5.469 kB / 0.9534 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.194e-05/0.8456, allocations: 18.27 kB / 0.9535 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.846, allocations: 14.92 kB / 0.9535 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002784/0.8462, allocations: 112.7 kB / 0.9536 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.8464, allocations: 0.6732 MB / 0.9542 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.542e-05/0.8464, allocations: 10.11 kB / 0.9543 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.76e-05/0.8465, allocations: 8.625 kB / 0.9543 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of SimCode: time 3.51e-07/0.8465, allocations: 0 / 0.9543 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of Templates: time 0.00285/0.8493, allocations: 0.5002 MB / 0.9547 GB, free: 3.762 MB / 0.7169 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