Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.SmoothLimit,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_SmoothLimit",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.00126/0.00126, 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.001352/0.001352, allocations: 196.5 kB / 16.53 MB, free: 6.699 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.516/2.516, allocations: 437.1 MB / 0.7104 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.89 kB / 0.8693 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5665/0.5677, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002657/0.5704, allocations: 1.472 MB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008679/0.5713, allocations: 0.5618 MB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.583e-05/0.5713, allocations: 0 / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.256e-05/0.5714, allocations: 0 / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.571e-05/0.5714, allocations: 3.938 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.5717, allocations: 51.83 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.359e-05/0.5718, allocations: 35.8 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.189e-05/0.5719, allocations: 8 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.918e-05/0.572, allocations: 11.92 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.588e-05/0.572, allocations: 15.92 kB / 1.02 GB, free: 320 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.572, allocations: 4 kB / 1.02 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.5722, allocations: 51.95 kB / 1.02 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.5722, allocations: 11.92 kB / 1.02 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.595e-05/0.5722, allocations: 15.94 kB / 1.02 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.5724, allocations: 59.86 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5724, allocations: 0 / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5724, allocations: 0 / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.5724, allocations: 0 / 1.02 GB, free: 176 kB / 0.7637 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.0004066/0.5728, allocations: 357.6 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.5728, allocations: 8.031 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.894e-05/0.5729, allocations: 30.75 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.569e-05/0.5729, allocations: 4.938 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.573, allocations: 172.3 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.573, allocations: 4.312 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.5731, allocations: 4.312 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.5732, allocations: 49.8 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.5732, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.5732, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.5732, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.773e-05/0.5733, allocations: 19.98 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002849/0.5736, allocations: 260.9 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.957e-05/0.5737, allocations: 30.52 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.593e-05/0.5738, allocations: 16.91 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007639/0.5745, allocations: 485.4 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.5746, allocations: 30.56 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.5746, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002291/0.5748, allocations: 61.59 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.5748, allocations: 55.34 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.206e-05/0.5749, allocations: 114 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.5749, allocations: 25.7 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.515e-05/0.575, allocations: 88.12 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.575, allocations: 7.906 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.575, allocations: 9.719 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.632e-05/0.5751, allocations: 326.8 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.074e-05/0.5752, allocations: 4 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.46e-05/0.5752, allocations: 11.98 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.39e-05/0.5753, allocations: 28.92 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.5753, allocations: 0 / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001179/0.5754, allocations: 53.67 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.5754, allocations: 7.938 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5755, allocations: 7.938 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.5755, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.45e-05/0.5755, allocations: 4 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.5756, allocations: 8.031 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.522e-05/0.5756, allocations: 7.922 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.5756, allocations: 0 / 1.022 GB, free: 13.6 MB / 0.7794 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.293e-05/0.5757, allocations: 119.3 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.5757, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.5759, allocations: 69.09 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.5759, allocations: 0 / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5759, allocations: 7.938 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.5759, allocations: 4.031 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.576, allocations: 161.6 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.576, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.449e-05/0.5761, allocations: 7.938 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.5761, allocations: 4 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.5761, allocations: 0 / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.5761, allocations: 0 / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.5761, allocations: 0 / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.5763, allocations: 155.5 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.16e-05/0.5763, allocations: 81.11 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.5763, allocations: 0 / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.372e-05/0.5764, allocations: 3.984 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.687e-05/0.5764, allocations: 4 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.5764, allocations: 0 / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.787e-05/0.5765, allocations: 83.28 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5765, allocations: 0 / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002447/0.5767, allocations: 24.02 kB / 1.023 GB, free: 12.79 MB / 0.7794 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.0004147/0.5772, allocations: 0.7045 MB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001248/0.5773, allocations: 23.98 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5773, allocations: 4.094 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.702e-05/0.5774, allocations: 19.92 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.5776, allocations: 0 / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004005/0.578, allocations: 152.4 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000184/0.5782, allocations: 0.6807 MB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.172e-05/0.5782, allocations: 4.062 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/0.5782, allocations: 11.38 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.5782, allocations: 4 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01674/0.595, allocations: 1.58 MB / 1.026 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.217/7.812, allocations: 13.64 kB / 1.026 GB, free: 9.559 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches