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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009662/0.0009661, allocations: 99.11 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 185.7 kB / 16.92 MB, free: 6.75 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.465/1.465, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.422/2.422, allocations: 390.9 MB / 0.667 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000398/0.0003982, allocations: 8 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7086/0.709, allocations: 142.4 MB / 0.9557 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001421/0.7105, allocations: 1.161 MB / 0.9568 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004345/0.711, allocations: 190.8 kB / 0.957 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.466e-05/0.711, allocations: 1.188 kB / 0.957 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.484e-05/0.711, allocations: 4 kB / 0.957 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.191e-05/0.7111, allocations: 3.938 kB / 0.957 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.7113, allocations: 24.97 kB / 0.957 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.572e-05/0.7114, allocations: 25.67 kB / 0.9571 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.421e-05/0.7115, allocations: 3.906 kB / 0.9571 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.352e-05/0.7115, allocations: 14.27 kB / 0.9571 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.235e-05/0.7116, allocations: 7.297 kB / 0.9571 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.7116, allocations: 0.9375 kB / 0.9571 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.082e-05/0.7117, allocations: 35.66 kB / 0.9571 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.7117, allocations: 13.36 kB / 0.9571 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.532e-05/0.7117, allocations: 31.05 kB / 0.9572 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.148e-05/0.7118, allocations: 28.14 kB / 0.9572 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.7118, allocations: 0 / 0.9572 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.482e-06/0.7118, allocations: 0 / 0.9572 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.7118, allocations: 0 / 0.9572 GB, free: 6.414 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.0003428/0.7122, allocations: 343.1 kB / 0.9575 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.7122, allocations: 13.41 kB / 0.9575 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.631e-05/0.7123, allocations: 2.438 kB / 0.9575 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.52e-05/0.7123, allocations: 178.7 kB / 0.9577 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.7124, allocations: 4.375 kB / 0.9577 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.7124, allocations: 2.562 kB / 0.9577 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.7125, allocations: 54.23 kB / 0.9578 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.7126, allocations: 192 / 0.9578 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.7126, allocations: 3.938 kB / 0.9578 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.7126, allocations: 9.031 kB / 0.9578 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.7128, allocations: 40.66 kB / 0.9578 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000255/0.713, allocations: 249.3 kB / 0.9581 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.7132, allocations: 52.53 kB / 0.9581 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.325e-05/0.7133, allocations: 27.97 kB / 0.9581 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.87e-05/0.7133, allocations: 83.16 kB / 0.9582 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.7134, allocations: 35.62 kB / 0.9583 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.7134, allocations: 0 / 0.9583 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003667/0.7137, allocations: 103.5 kB / 0.9583 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.951e-05/0.7138, allocations: 52.78 kB / 0.9584 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.314e-05/0.7138, allocations: 100 kB / 0.9585 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.7139, allocations: 25.7 kB / 0.9585 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.832e-05/0.7139, allocations: 86.12 kB / 0.9586 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.887e-05/0.7139, allocations: 11.89 kB / 0.9586 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-05/0.7139, allocations: 10.75 kB / 0.9586 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.295e-05/0.714, allocations: 315.9 kB / 0.9589 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-05/0.7141, allocations: 25.89 kB / 0.9589 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.452e-05/0.7142, allocations: 23.28 kB / 0.959 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.7143, allocations: 49.23 kB / 0.959 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.7144, allocations: 0 / 0.959 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002057/0.7146, allocations: 86.41 kB / 0.9591 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.7146, allocations: 13.5 kB / 0.9591 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.7146, allocations: 0 / 0.9591 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.7146, allocations: 1.125 kB / 0.9591 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.7147, allocations: 11.89 kB / 0.9591 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.7147, allocations: 1.125 kB / 0.9591 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.115e-05/0.7148, allocations: 5.969 kB / 0.9591 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.7148, allocations: 5.266 kB / 0.9591 GB, free: 4.473 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 4.652e-05/0.7149, allocations: 114.9 kB / 0.9592 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.7149, allocations: 8.953 kB / 0.9593 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.7151, allocations: 81.41 kB / 0.9593 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.7151, allocations: 2.219 kB / 0.9593 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.7151, allocations: 7.969 kB / 0.9593 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.7152, allocations: 0 / 0.9593 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.7153, allocations: 157.6 kB / 0.9595 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.7153, allocations: 3.984 kB / 0.9595 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.817e-05/0.7153, allocations: 13.61 kB / 0.9595 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.7153, allocations: 0 / 0.9595 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.7154, allocations: 0 / 0.9595 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.7154, allocations: 1.125 kB / 0.9595 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7154, allocations: 0 / 0.9595 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.7156, allocations: 177.7 kB / 0.9597 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.682e-05/0.7156, allocations: 78.17 kB / 0.9598 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.7156, allocations: 3.984 kB / 0.9598 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.77e-05/0.7157, allocations: 14.62 kB / 0.9598 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/0.7158, allocations: 5.391 kB / 0.9598 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.7158, allocations: 5.344 kB / 0.9598 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.551e-05/0.7158, allocations: 82.97 kB / 0.9599 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.71e-07/0.7158, allocations: 0 / 0.9599 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002356/0.716, allocations: 13.34 kB / 0.9599 GB, free: 3.723 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.0001307/0.7162, allocations: 101.8 kB / 0.96 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002203/0.7164, allocations: 51.64 kB / 0.96 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7164, allocations: 0 / 0.96 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.327e-05/0.7165, allocations: 28.67 kB / 0.96 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.7168, allocations: 6.062 kB / 0.9601 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002373/0.717, allocations: 143.9 kB / 0.9602 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.312e-05/0.7171, allocations: 0.6769 MB / 0.9609 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.142e-05/0.7172, allocations: 12.59 kB / 0.9609 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.7172, allocations: 1.219 kB / 0.9609 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of Templates: time 0.001895/0.7191, allocations: 0.6583 MB / 0.9615 GB, free: 2.406 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches