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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001631/0.001631, allocations: 116.7 kB / 16.37 MB, free: 6.012 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.001895/0.001895, allocations: 192.6 kB / 17.31 MB, free: 5.609 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.487/2.487, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.00122, allocations: 63.77 kB / 0.8773 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2798, allocations: 153 MB / 1.027 GB, free: 2.109 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.00241/0.2822, allocations: 1.457 MB / 1.028 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004064/0.2827, allocations: 184.3 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.968e-05/0.2827, allocations: 4 kB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.543e-05/0.2828, allocations: 3.938 kB / 1.028 GB, free: 468 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.703e-05/0.2828, allocations: 3.938 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.2831, allocations: 39.89 kB / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.058e-05/0.2832, allocations: 31.92 kB / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.812e-05/0.2833, allocations: 0 / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.798e-05/0.2833, allocations: 11.98 kB / 1.028 GB, free: 380 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.729e-05/0.2833, allocations: 11.92 kB / 1.028 GB, free: 368 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.2834, allocations: 4 kB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.131e-05/0.2834, allocations: 31.97 kB / 1.028 GB, free: 332 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.2835, allocations: 4 kB / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.284e-05/0.2835, allocations: 15.92 kB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.2836, allocations: 35.88 kB / 1.029 GB, free: 276 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2836, allocations: 4 kB / 1.029 GB, free: 272 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2836, allocations: 0 / 1.029 GB, free: 272 kB / 0.795 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.2836, allocations: 0 / 1.029 GB, free: 272 kB / 0.795 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.0004187/0.284, allocations: 347.4 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.2841, allocations: 12.03 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.811e-05/0.2841, allocations: 0.9375 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.2842, allocations: 160.4 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-06/0.2842, allocations: 4.375 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-06/0.2843, allocations: 384 / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.2844, allocations: 54.23 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.2844, allocations: 4.125 kB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.2845, allocations: 3.938 kB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.2845, allocations: 0 / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.2846, allocations: 43.83 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002929/0.2849, allocations: 244.9 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.2851, allocations: 46.53 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.201e-05/0.2852, allocations: 20.91 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.208e-05/0.2853, allocations: 81.09 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.2853, allocations: 46.48 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.2853, allocations: 0 / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003298/0.2856, allocations: 77.56 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.2857, allocations: 59.41 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.231e-05/0.2858, allocations: 101.8 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.2858, allocations: 25.7 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.2858, allocations: 88.14 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.2858, allocations: 3.906 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.2859, allocations: 17.83 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.962e-05/0.286, allocations: 318.8 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.648e-05/0.2861, allocations: 11.98 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.148e-05/0.2862, allocations: 19.92 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.2863, allocations: 44.88 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2863, allocations: 0 / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001798/0.2865, allocations: 69.59 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.2865, allocations: 4 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.2865, allocations: 4 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.2865, allocations: 3.984 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.973e-05/0.2866, allocations: 4 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.2866, allocations: 0 / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.788e-05/0.2867, allocations: 16.02 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.2867, allocations: 0 / 1.03 GB, free: 14.12 MB / 0.8106 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 9.161e-05/0.2868, allocations: 121.7 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.2868, allocations: 0 / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.2871, allocations: 76.77 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2871, allocations: 0 / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2871, allocations: 0 / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.2871, allocations: 4.031 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.2872, allocations: 161.5 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2872, allocations: 0 / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.616e-05/0.2873, allocations: 15.92 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2873, allocations: 0 / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.2873, allocations: 0 / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2873, allocations: 0 / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2873, allocations: 0 / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.2876, allocations: 175.3 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.196e-05/0.2876, allocations: 81.11 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.2876, allocations: 3.938 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.608e-05/0.2877, allocations: 7.984 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.2877, allocations: 0 / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.2878, allocations: 0 / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.23e-05/0.2878, allocations: 91.52 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2878, allocations: 4.031 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002299/0.288, allocations: 12 kB / 1.031 GB, free: 13.28 MB / 0.8106 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.000134/0.2882, allocations: 99.25 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002074/0.2884, allocations: 39.95 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2884, allocations: 3.938 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.138e-05/0.2885, allocations: 24.05 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.2888, allocations: 6.281 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002521/0.289, allocations: 101.6 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.2893, allocations: 0.6806 MB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.034e-05/0.2893, allocations: 0 / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.788e-05/0.2893, allocations: 11.44 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.2893, allocations: 0 / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of Templates: time 0.002604/0.2919, allocations: 0.5761 MB / 1.033 GB, free: 11.68 MB / 0.8106 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches