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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.008782/0.008782, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.338/1.338, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.535/2.535, allocations: 462.7 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003726, allocations: 16.16 kB / 0.9029 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2898, allocations: 159.6 MB / 1.059 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001205/0.291, allocations: 1.175 MB / 1.06 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000349/0.2914, allocations: 195.5 kB / 1.06 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.608e-05/0.2914, allocations: 0 / 1.06 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.212e-05/0.2914, allocations: 3.984 kB / 1.06 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.745e-05/0.2915, allocations: 4 kB / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.2917, allocations: 23.92 kB / 1.06 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.608e-05/0.2917, allocations: 23.92 kB / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.958e-05/0.2918, allocations: 11.92 kB / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.084e-05/0.2918, allocations: 8 kB / 1.06 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.596e-05/0.2919, allocations: 11.92 kB / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.328e-06/0.2919, allocations: 0 / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.357e-05/0.2919, allocations: 31.97 kB / 1.06 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.107e-05/0.292, allocations: 3.984 kB / 1.06 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.869e-05/0.292, allocations: 41.64 kB / 1.06 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.686e-05/0.2921, allocations: 35.88 kB / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2921, allocations: 4 kB / 1.06 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2921, allocations: 4 kB / 1.06 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.736e-06/0.2921, allocations: 0 / 1.06 GB, free: 3.289 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.0003119/0.2924, allocations: 339.8 kB / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.2925, allocations: 15.95 kB / 1.061 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.659e-05/0.2925, allocations: 38.75 kB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.672e-05/0.2925, allocations: 8.844 kB / 1.061 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.265e-05/0.2926, allocations: 164.4 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.375e-06/0.2926, allocations: 4.375 kB / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.172e-06/0.2926, allocations: 384 / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.2928, allocations: 58.17 kB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.2928, allocations: 3.938 kB / 1.061 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.011e-06/0.2928, allocations: 4 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.2928, allocations: 3.938 kB / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.293, allocations: 43.95 kB / 1.061 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000233/0.2932, allocations: 245 kB / 1.061 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.2934, allocations: 54.42 kB / 1.061 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.42e-05/0.2934, allocations: 28.91 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.371e-05/0.2935, allocations: 77.11 kB / 1.061 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.2935, allocations: 38.56 kB / 1.061 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2935, allocations: 0 / 1.061 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000318/0.2939, allocations: 97.73 kB / 1.061 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.2939, allocations: 51.41 kB / 1.062 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.874e-05/0.294, allocations: 105.8 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.294, allocations: 25.7 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.093e-05/0.294, allocations: 84.05 kB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.294, allocations: 8 kB / 1.062 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.048e-05/0.2941, allocations: 9.719 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.848e-05/0.2941, allocations: 318.8 kB / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.328e-05/0.2942, allocations: 31.95 kB / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.378e-05/0.2943, allocations: 15.98 kB / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.2945, allocations: 48.89 kB / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.2945, allocations: 3.938 kB / 1.062 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001936/0.2947, allocations: 89.56 kB / 1.062 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/0.2947, allocations: 4 kB / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.2947, allocations: 0 / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.324e-06/0.2947, allocations: 0 / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.288e-05/0.2948, allocations: 11.98 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2948, allocations: 3.938 kB / 1.062 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.547e-05/0.2949, allocations: 11.98 kB / 1.062 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.2949, allocations: 0 / 1.062 GB, free: 1.027 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 5.829e-05/0.2949, allocations: 121.8 kB / 1.062 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.105e-05/0.295, allocations: 0 / 1.062 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00021/0.2952, allocations: 80.78 kB / 1.062 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.2952, allocations: 4.031 kB / 1.062 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.2952, allocations: 0 / 1.062 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-06/0.2952, allocations: 0 / 1.062 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.2953, allocations: 165.6 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2953, allocations: 0 / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.455e-05/0.2954, allocations: 11.98 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.2954, allocations: 3.984 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.2954, allocations: 256 / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.2954, allocations: 0 / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.2954, allocations: 7.938 kB / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.2957, allocations: 183.4 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.769e-05/0.2957, allocations: 81.05 kB / 1.063 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.257e-06/0.2957, allocations: 32 / 1.063 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.398e-05/0.2958, allocations: 15.98 kB / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.042e-05/0.2958, allocations: 0 / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.2958, allocations: 0 / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.065e-05/0.2959, allocations: 83.28 kB / 1.063 GB, free: 192 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2959, allocations: 0 / 1.063 GB, free: 192 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002095/0.2961, allocations: 15.98 kB / 1.063 GB, free: 176 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.000462/0.2965, allocations: 0.7163 MB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001859/0.2967, allocations: 51.94 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.2968, allocations: 0 / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.806e-05/0.2968, allocations: 27.97 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.2971, allocations: 6.656 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003048/0.2974, allocations: 150.3 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.2976, allocations: 0.6808 MB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.927e-05/0.2976, allocations: 4 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.267e-05/0.2976, allocations: 7.438 kB / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2976, allocations: 0 / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.558/2.856, allocations: 1.193 MB / 1.066 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/2.856, allocations: 209.2 kB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.414/5.271, allocations: 8 kB / 1.066 GB, free: 13.11 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > 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