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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001319/0.001319, allocations: 108 kB / 15.61 MB, free: 152 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.001456/0.001456, allocations: 197 kB / 16.53 MB, free: 6.664 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.414/1.414, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.735/2.735, allocations: 469.4 MB / 0.742 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 68.03 kB / 0.9083 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2742, allocations: 159.2 MB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002686/0.2769, allocations: 1.428 MB / 1.065 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00041/0.2773, allocations: 187.4 kB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.24e-05/0.2774, allocations: 4 kB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.627e-05/0.2774, allocations: 0 / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.158e-05/0.2775, allocations: 3.938 kB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.2778, allocations: 39.89 kB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.246e-05/0.2778, allocations: 27.86 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.341e-05/0.2779, allocations: 8 kB / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.622e-05/0.278, allocations: 7.984 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.515e-05/0.278, allocations: 11.92 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.278, allocations: 4 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.41e-05/0.2781, allocations: 39.91 kB / 1.065 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.2782, allocations: 4 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.595e-05/0.2782, allocations: 15.92 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.2783, allocations: 39.88 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2783, allocations: 0 / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2783, allocations: 0 / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.2783, allocations: 0 / 1.065 GB, free: 12.75 MB / 0.8262 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.0004258/0.2788, allocations: 347.7 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.2788, allocations: 8.031 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.241e-05/0.2788, allocations: 34.75 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.724e-05/0.2789, allocations: 8.938 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.279, allocations: 164.4 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.279, allocations: 384 / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.279, allocations: 12.3 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.2792, allocations: 42.25 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.2792, allocations: 3.938 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.2792, allocations: 4 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.2793, allocations: 0 / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001692/0.2794, allocations: 35.95 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003028/0.2797, allocations: 256.9 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.2799, allocations: 42.44 kB / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.995e-05/0.28, allocations: 22.58 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.141e-05/0.2801, allocations: 89.09 kB / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.2801, allocations: 30.56 kB / 1.066 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.2801, allocations: 0 / 1.066 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003492/0.2805, allocations: 77.64 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.2805, allocations: 55.53 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.93e-05/0.2806, allocations: 109.7 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.2806, allocations: 25.7 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.403e-05/0.2807, allocations: 84.14 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.2807, allocations: 15.88 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.2807, allocations: 13.72 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.905e-05/0.2808, allocations: 310.8 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.424e-05/0.2809, allocations: 15.98 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.548e-05/0.281, allocations: 23.97 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.2812, allocations: 36.83 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2812, allocations: 3.938 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002049/0.2814, allocations: 65.66 kB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.2814, allocations: 8.094 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2814, allocations: 3.984 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.2814, allocations: 3.938 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.769e-05/0.2815, allocations: 11.98 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.2815, allocations: 3.938 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.85e-05/0.2816, allocations: 8 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.2816, allocations: 0 / 1.067 GB, free: 10.56 MB / 0.8262 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.472e-05/0.2817, allocations: 113.7 kB / 1.067 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/0.2817, allocations: 11.89 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002312/0.2819, allocations: 72.78 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.282, allocations: 4 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.282, allocations: 0 / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.282, allocations: 0 / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.2821, allocations: 157.6 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2821, allocations: 256 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.479e-05/0.2822, allocations: 19.92 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.2822, allocations: 4.031 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.2822, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2822, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2822, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.2825, allocations: 163.5 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.803e-05/0.2825, allocations: 77.11 kB / 1.068 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.2826, allocations: 12.02 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.277e-05/0.2826, allocations: 0 / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.2827, allocations: 4 kB / 1.068 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.2827, allocations: 7.922 kB / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.723e-05/0.2827, allocations: 83.28 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2827, allocations: 0 / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002322/0.283, allocations: 8 kB / 1.068 GB, free: 9.738 MB / 0.8262 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.000542/0.2835, allocations: 0.7128 MB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002101/0.2837, allocations: 39.95 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2837, allocations: 0 / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.797e-05/0.2838, allocations: 28.02 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.2841, allocations: 1.562 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003952/0.2845, allocations: 143.1 kB / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.2847, allocations: 0.6768 MB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.18e-05/0.2848, allocations: 0 / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.2848, allocations: 11.5 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.2848, allocations: 4 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0166/0.3014, allocations: 1.42 MB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.285/7.587, allocations: 6.609 kB / 1.071 GB, free: 6.684 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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