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.00107/0.00107, allocations: 102.1 kB / 16.35 MB, free: 5.824 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.001035/0.001035, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.196/2.196, allocations: 390.3 MB / 0.6655 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 62.5 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2671, allocations: 140.4 MB / 0.9511 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002682/0.2698, allocations: 1.443 MB / 0.9525 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003673/0.2702, allocations: 190.4 kB / 0.9527 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.926e-05/0.2702, allocations: 0 / 0.9527 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.476e-05/0.2702, allocations: 3.938 kB / 0.9527 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.167e-05/0.2703, allocations: 11.92 kB / 0.9527 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.2705, allocations: 35.89 kB / 0.9528 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.818e-05/0.2706, allocations: 19.94 kB / 0.9528 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.965e-05/0.2707, allocations: 11.98 kB / 0.9528 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.868e-05/0.2707, allocations: 11.94 kB / 0.9528 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.274e-05/0.2708, allocations: 7.984 kB / 0.9528 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.2708, allocations: 0 / 0.9528 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.072e-05/0.2709, allocations: 39.97 kB / 0.9528 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.478e-05/0.2709, allocations: 7.922 kB / 0.9528 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.146e-05/0.2709, allocations: 11.92 kB / 0.9529 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.271, allocations: 35.95 kB / 0.9529 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.271, allocations: 0 / 0.9529 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2711, allocations: 0 / 0.9529 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.2711, allocations: 4 kB / 0.9529 GB, free: 6.191 MB / 0.7325 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.0004138/0.2715, allocations: 347.3 kB / 0.9532 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.2715, allocations: 8.031 kB / 0.9532 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.2716, allocations: 8.844 kB / 0.9532 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.2717, allocations: 164.4 kB / 0.9534 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.2717, allocations: 384 / 0.9534 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-06/0.2717, allocations: 8.312 kB / 0.9534 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.2719, allocations: 54.17 kB / 0.9535 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.2719, allocations: 4.188 kB / 0.9535 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.2719, allocations: 3.938 kB / 0.9535 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-06/0.2719, allocations: 0 / 0.9535 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.2721, allocations: 31.97 kB / 0.9535 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002885/0.2724, allocations: 253 kB / 0.9537 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.2725, allocations: 42.5 kB / 0.9538 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.071e-05/0.2726, allocations: 24.84 kB / 0.9538 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.067e-05/0.2727, allocations: 85.09 kB / 0.9539 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.2727, allocations: 30.56 kB / 0.9539 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2727, allocations: 0 / 0.9539 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003237/0.273, allocations: 85.55 kB / 0.954 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.2731, allocations: 55.41 kB / 0.954 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.482e-05/0.2732, allocations: 97.86 kB / 0.9541 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.2732, allocations: 25.7 kB / 0.9542 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.896e-05/0.2732, allocations: 88.12 kB / 0.9542 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.2732, allocations: 7.906 kB / 0.9543 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.2733, allocations: 13.72 kB / 0.9543 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.55e-05/0.2734, allocations: 319 kB / 0.9546 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.371e-05/0.2735, allocations: 15.92 kB / 0.9546 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.829e-05/0.2735, allocations: 19.97 kB / 0.9546 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.2737, allocations: 36.83 kB / 0.9546 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2737, allocations: 0 / 0.9546 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001786/0.2739, allocations: 73.66 kB / 0.9547 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.2739, allocations: 4 kB / 0.9547 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.2739, allocations: 0 / 0.9547 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.2739, allocations: 0 / 0.9547 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.746e-05/0.274, allocations: 11.98 kB / 0.9547 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.274, allocations: 0 / 0.9547 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.345e-05/0.2741, allocations: 15.88 kB / 0.9547 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.2741, allocations: 0 / 0.9547 GB, free: 4.051 MB / 0.7325 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.894e-05/0.2741, allocations: 125.3 kB / 0.9549 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.2742, allocations: 3.984 kB / 0.9549 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/0.2744, allocations: 73.03 kB / 0.9549 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2744, allocations: 0 / 0.9549 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2744, allocations: 4 kB / 0.9549 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.2744, allocations: 0 / 0.9549 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.2746, allocations: 165.5 kB / 0.9551 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2746, allocations: 4.031 kB / 0.9551 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.296e-05/0.2746, allocations: 8 kB / 0.9551 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2746, allocations: 0 / 0.9551 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.2746, allocations: 3.938 kB / 0.9551 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2746, allocations: 0 / 0.9551 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2746, allocations: 0 / 0.9551 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002169/0.2749, allocations: 175.3 kB / 0.9553 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.2749, allocations: 85.09 kB / 0.9554 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.2749, allocations: 0 / 0.9554 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.986e-05/0.275, allocations: 4 kB / 0.9554 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.275, allocations: 3.984 kB / 0.9554 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.275, allocations: 0 / 0.9554 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.074e-05/0.2751, allocations: 83.28 kB / 0.9554 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2751, allocations: 0 / 0.9554 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002204/0.2753, allocations: 16 kB / 0.9555 GB, free: 3.215 MB / 0.7325 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.0001313/0.2755, allocations: 107.3 kB / 0.9556 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001965/0.2757, allocations: 39.91 kB / 0.9556 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2757, allocations: 0 / 0.9556 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.389e-05/0.2758, allocations: 19.98 kB / 0.9556 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.276, allocations: 7.922 kB / 0.9556 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002194/0.2762, allocations: 105.8 kB / 0.9557 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.2765, allocations: 0.6805 MB / 0.9564 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.027e-05/0.2765, allocations: 0 / 0.9564 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.833e-05/0.2765, allocations: 11.44 kB / 0.9564 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.2765, allocations: 0 / 0.9564 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of Templates: time 0.002444/0.279, allocations: 0.5823 MB / 0.957 GB, free: 1.609 MB / 0.7325 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 -s gbode -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