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.001014/0.001014, allocations: 97.78 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.001524/0.001524, allocations: 187.3 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.396/1.396, allocations: 223.3 MB / 241 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.773/2.773, allocations: 462.6 MB / 0.7371 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003541, allocations: 11.44 kB / 0.9034 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2805, allocations: 159.6 MB / 1.059 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001583/0.2822, allocations: 1.16 MB / 1.06 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000447/0.2826, allocations: 191.5 kB / 1.061 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.2827, allocations: 0 / 1.061 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.783e-05/0.2827, allocations: 15.86 kB / 1.061 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.181e-05/0.2828, allocations: 3.984 kB / 1.061 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.283, allocations: 31.92 kB / 1.061 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.377e-05/0.2831, allocations: 19.98 kB / 1.061 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.942e-05/0.2832, allocations: 4 kB / 1.061 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.274e-05/0.2832, allocations: 11.94 kB / 1.061 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.503e-05/0.2833, allocations: 7.922 kB / 1.061 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.2833, allocations: 11.92 kB / 1.061 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.429e-05/0.2834, allocations: 27.97 kB / 1.061 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.656e-05/0.2834, allocations: 15.98 kB / 1.061 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.33e-05/0.2834, allocations: 29.64 kB / 1.061 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.599e-05/0.2835, allocations: 27.95 kB / 1.061 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2835, allocations: 0 / 1.061 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2835, allocations: 0 / 1.061 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.2836, allocations: 0 / 1.061 GB, free: 3.363 MB / 0.8106 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.000417/0.284, allocations: 343.7 kB / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.284, allocations: 15.97 kB / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.2841, allocations: 12.84 kB / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.2842, allocations: 164.4 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.2842, allocations: 4.375 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.2842, allocations: 384 / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.2844, allocations: 58.23 kB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.271e-06/0.2844, allocations: 192 / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.2844, allocations: 3.938 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2844, allocations: 4 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.2846, allocations: 47.89 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003162/0.2849, allocations: 241 kB / 1.062 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.2851, allocations: 54.48 kB / 1.062 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.373e-05/0.2852, allocations: 24.91 kB / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.996e-05/0.2853, allocations: 81.11 kB / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.2853, allocations: 34.56 kB / 1.062 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 3.857e-06/0.2853, allocations: 3.984 kB / 1.062 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000362/0.2857, allocations: 109.6 kB / 1.062 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.2857, allocations: 51.41 kB / 1.062 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.276e-05/0.2858, allocations: 101.8 kB / 1.062 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.2858, allocations: 29.7 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/0.2859, allocations: 84.05 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.2859, allocations: 4 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.237e-05/0.2859, allocations: 9.719 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2861, allocations: 318.8 kB / 1.063 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.955e-05/0.2861, allocations: 24.02 kB / 1.063 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.995e-05/0.2862, allocations: 19.98 kB / 1.063 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.2864, allocations: 60.75 kB / 1.063 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2864, allocations: 0 / 1.063 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002232/0.2866, allocations: 85.52 kB / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2867, allocations: 8 kB / 1.063 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2867, allocations: 0 / 1.063 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.2867, allocations: 0 / 1.063 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.835e-05/0.2868, allocations: 11.98 kB / 1.063 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.237e-06/0.2868, allocations: 0 / 1.063 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.22e-05/0.2869, allocations: 11.98 kB / 1.063 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.2869, allocations: 0 / 1.063 GB, free: 1.137 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 7.142e-05/0.2869, allocations: 113.8 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.287, allocations: 4 kB / 1.063 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002502/0.2872, allocations: 84.72 kB / 1.063 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.2872, allocations: 4.031 kB / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2873, allocations: 0 / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.2873, allocations: 3.984 kB / 1.063 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.2874, allocations: 161.5 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2874, allocations: 0 / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.089e-05/0.2875, allocations: 11.98 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.2875, allocations: 4 kB / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.2875, allocations: 0 / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2875, allocations: 0 / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2875, allocations: 0 / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.2878, allocations: 179.4 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/0.2878, allocations: 85.27 kB / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.2878, allocations: 3.938 kB / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.868e-05/0.2879, allocations: 16.02 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.288, allocations: 4 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.288, allocations: 0 / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.817e-05/0.288, allocations: 87.27 kB / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.288, allocations: 0 / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002322/0.2883, allocations: 8 kB / 1.063 GB, free: 292 kB / 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.0001536/0.2884, allocations: 107.2 kB / 1.064 GB, free: 172 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002143/0.2887, allocations: 51.95 kB / 1.064 GB, free: 120 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2887, allocations: 0 / 1.064 GB, free: 120 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.417e-05/0.2888, allocations: 31.98 kB / 1.064 GB, free: 88 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.289, allocations: 3.938 kB / 1.064 GB, free: 84 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002826/0.2893, allocations: 142.4 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.2896, allocations: 0.6731 MB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.313e-05/0.2896, allocations: 15.42 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.2896, allocations: 3.938 kB / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of Templates: time 0.00194/0.2916, allocations: 0.6456 MB / 1.065 GB, free: 14.54 MB / 0.8262 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 -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