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.00584/0.00584, allocations: 98.86 kB / 15.73 MB, free: 6.039 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.001335/0.001335, allocations: 202 kB / 16.68 MB, free: 5.965 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.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.733/2.733, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 59.91 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3198, allocations: 151.6 MB / 1.167 GB, free: 6.805 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002783/0.3226, allocations: 1.437 MB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0005754/0.3232, allocations: 204.2 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.096e-05/0.3233, allocations: 0 / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.75e-05/0.3234, allocations: 0 / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.267e-05/0.3234, allocations: 3.938 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003855/0.3238, allocations: 35.89 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.312e-05/0.3239, allocations: 27.92 kB / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.3241, allocations: 8 kB / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.532e-05/0.3241, allocations: 0 / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.546e-05/0.3242, allocations: 15.92 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.3242, allocations: 8 kB / 1.168 GB, free: 5.051 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.3244, allocations: 35.95 kB / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.359e-05/0.3244, allocations: 7.984 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.887e-05/0.3244, allocations: 7.938 kB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.3246, allocations: 39.83 kB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.3246, allocations: 4 kB / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3246, allocations: 0 / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.3246, allocations: 0 / 1.168 GB, free: 4.957 MB / 0.92 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.000611/0.3252, allocations: 339.4 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.3253, allocations: 16.03 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.215e-05/0.3253, allocations: 12.88 kB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.3255, allocations: 172.3 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.3256, allocations: 384 / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.3256, allocations: 384 / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.3258, allocations: 50.23 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.3258, allocations: 4.125 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.3258, allocations: 3.938 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.3259, allocations: 0 / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.3261, allocations: 35.97 kB / 1.169 GB, free: 4.242 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000494/0.3266, allocations: 252.8 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.3267, allocations: 38.5 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.3268, allocations: 28.89 kB / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/0.327, allocations: 81.11 kB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.327, allocations: 34.56 kB / 1.169 GB, free: 3.727 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.327, allocations: 0 / 1.169 GB, free: 3.727 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0004366/0.3274, allocations: 89.53 kB / 1.169 GB, free: 3.633 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.3275, allocations: 51.41 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.3276, allocations: 106 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.3276, allocations: 25.7 kB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.547e-05/0.3277, allocations: 84.14 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.3278, allocations: 7.953 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.3278, allocations: 13.72 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.328, allocations: 310.8 kB / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.904e-05/0.3281, allocations: 23.91 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.705e-05/0.3282, allocations: 19.98 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.3283, allocations: 36.83 kB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3283, allocations: 0 / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001945/0.3285, allocations: 73.53 kB / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.3286, allocations: 8 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.3286, allocations: 96 / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.095e-05/0.3286, allocations: 4 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.3287, allocations: 7.984 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.475e-06/0.3288, allocations: 256 / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.501e-05/0.3288, allocations: 7.984 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.3288, allocations: 8 kB / 1.17 GB, free: 2.805 MB / 0.92 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 0.0001026/0.3289, allocations: 113.8 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.329, allocations: 3.984 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.3292, allocations: 76.72 kB / 1.17 GB, free: 2.598 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3292, allocations: 0 / 1.17 GB, free: 2.598 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.3292, allocations: 0 / 1.17 GB, free: 2.598 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3292, allocations: 3.938 kB / 1.17 GB, free: 2.594 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.3295, allocations: 169.5 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3295, allocations: 0 / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.354e-05/0.3296, allocations: 7.984 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3296, allocations: 0 / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.3296, allocations: 4 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3296, allocations: 8.031 kB / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3296, allocations: 0 / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.3299, allocations: 159.5 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.3299, allocations: 77.11 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.3299, allocations: 0 / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.8e-05/0.33, allocations: 12.02 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.3301, allocations: 4 kB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.3301, allocations: 4 kB / 1.171 GB, free: 2.074 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.645e-05/0.3302, allocations: 83.22 kB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3302, allocations: 0 / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002318/0.3304, allocations: 11.94 kB / 1.171 GB, free: 1.98 MB / 0.92 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.0001794/0.3306, allocations: 111.2 kB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002218/0.3308, allocations: 35.97 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3308, allocations: 0 / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.4e-05/0.3309, allocations: 19.97 kB / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.3312, allocations: 11.94 kB / 1.171 GB, free: 1.793 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002933/0.3315, allocations: 105.4 kB / 1.171 GB, free: 1.664 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.3319, allocations: 0.6806 MB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.57e-05/0.3319, allocations: 4.125 kB / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.972e-05/0.3319, allocations: 7.438 kB / 1.172 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of SimCode: time 4.91e-07/0.3319, allocations: 4 kB / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of Templates: time 0.002698/0.3346, allocations: 0.5692 MB / 1.172 GB, free: 384 kB / 0.92 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches