Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_11_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.006422/0.006422, allocations: 99.98 kB / 15.73 MB, free: 6.02 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.001389/0.001389, allocations: 189.6 kB / 16.67 MB, free: 5.938 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.829/2.829, allocations: 469.8 MB / 0.7425 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 63.91 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.753/0.755, allocations: 159.1 MB / 1.22 GB, free: 2.145 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002724/0.7578, allocations: 1.444 MB / 1.222 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004127/0.7582, allocations: 191.4 kB / 1.222 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.18e-05/0.7583, allocations: 4 kB / 1.222 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.675e-05/0.7583, allocations: 0 / 1.222 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.689e-05/0.7583, allocations: 3.938 kB / 1.222 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.7586, allocations: 31.91 kB / 1.222 GB, free: 480 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.551e-05/0.7587, allocations: 23.86 kB / 1.222 GB, free: 456 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.043e-05/0.7588, allocations: 15.97 kB / 1.222 GB, free: 440 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.999e-05/0.7588, allocations: 7.984 kB / 1.222 GB, free: 432 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.125e-05/0.7589, allocations: 19.92 kB / 1.222 GB, free: 412 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.7589, allocations: 0 / 1.222 GB, free: 412 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.82e-05/0.759, allocations: 39.97 kB / 1.222 GB, free: 372 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.759, allocations: 4 kB / 1.222 GB, free: 368 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.759, allocations: 11.92 kB / 1.222 GB, free: 356 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.7591, allocations: 40.86 kB / 1.222 GB, free: 316 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.7592, allocations: 0 / 1.222 GB, free: 316 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7592, allocations: 0 / 1.222 GB, free: 316 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.7592, allocations: 0 / 1.222 GB, free: 316 kB / 0.9356 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.0004899/0.7597, allocations: 354 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.7597, allocations: 12.03 kB / 1.222 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.448e-05/0.7598, allocations: 30.75 kB / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.513e-05/0.7598, allocations: 4.891 kB / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.7599, allocations: 172.3 kB / 1.222 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.7599, allocations: 384 / 1.222 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.76, allocations: 384 / 1.222 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.7602, allocations: 46.25 kB / 1.223 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.7602, allocations: 7.922 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.7602, allocations: 4 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.7602, allocations: 0 / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/0.7604, allocations: 31.97 kB / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.7607, allocations: 249 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.7609, allocations: 42.44 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.118e-05/0.761, allocations: 24.91 kB / 1.223 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.516e-05/0.7611, allocations: 81.09 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.7611, allocations: 38.56 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.7611, allocations: 0 / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003595/0.7615, allocations: 81.69 kB / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.7615, allocations: 59.38 kB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.758e-05/0.7616, allocations: 97.86 kB / 1.223 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.7617, allocations: 25.7 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.334e-05/0.7617, allocations: 96.06 kB / 1.223 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.7617, allocations: 7.891 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.7618, allocations: 13.72 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.7619, allocations: 314.8 kB / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.727e-05/0.762, allocations: 15.98 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.391e-05/0.7621, allocations: 23.97 kB / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.7623, allocations: 32.83 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.7623, allocations: 3.938 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002092/0.7625, allocations: 73.66 kB / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.7625, allocations: 8 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.7625, allocations: 0 / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.7626, allocations: 0 / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.243e-05/0.7626, allocations: 8.234 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/0.7627, allocations: 0 / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.881e-05/0.7627, allocations: 8 kB / 1.224 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.7627, allocations: 4 kB / 1.224 GB, free: 14.12 MB / 0.9512 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.025e-05/0.7628, allocations: 121.8 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.7628, allocations: 3.953 kB / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.7631, allocations: 72.78 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.7631, allocations: 0 / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.7631, allocations: 3.938 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.7631, allocations: 0 / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.7633, allocations: 157.6 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.7633, allocations: 11.92 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.837e-05/0.7634, allocations: 8.031 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.7634, allocations: 0 / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.7634, allocations: 0 / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7634, allocations: 0 / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7634, allocations: 4 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.7637, allocations: 163.5 kB / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.489e-05/0.7637, allocations: 85.12 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.7637, allocations: 3.984 kB / 1.224 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.631e-05/0.7638, allocations: 4 kB / 1.224 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.7639, allocations: 3.984 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.7639, allocations: 4 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.849e-05/0.7639, allocations: 83.28 kB / 1.225 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7639, allocations: 3.938 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002259/0.7642, allocations: 8 kB / 1.225 GB, free: 13.3 MB / 0.9512 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.0006212/0.7648, allocations: 0.7222 MB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002142/0.765, allocations: 31.97 kB / 1.225 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.765, allocations: 4.094 kB / 1.225 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.088e-05/0.7651, allocations: 23.92 kB / 1.225 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.7654, allocations: 7.984 kB / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003995/0.7658, allocations: 135 kB / 1.225 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.7661, allocations: 0.6768 MB / 1.226 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.588e-05/0.7661, allocations: 3.984 kB / 1.226 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.7662, allocations: 15.5 kB / 1.226 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of SimCode: time 2.71e-07/0.7662, allocations: 0 / 1.226 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/0.7889, allocations: 1.445 MB / 1.228 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.903, allocations: 10.84 kB / 1.228 GB, free: 10.22 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches