Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_SmoothBlocks",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.0012/0.001199, 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.001095/0.001095, allocations: 196.7 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.325/1.325, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.556/2.556, allocations: 437.1 MB / 0.7104 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 63.91 kB / 0.8693 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6424/0.6437, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002772/0.6465, allocations: 1.779 MB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.6476, allocations: 0.667 MB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.757e-05/0.6476, allocations: 4 kB / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.446e-05/0.6477, allocations: 15.8 kB / 1.02 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.955e-05/0.6478, allocations: 11.81 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005808/0.6484, allocations: 160.9 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.6485, allocations: 123.7 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.6487, allocations: 49 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.6488, allocations: 67.81 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.601e-05/0.6489, allocations: 43.78 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.649, allocations: 11.98 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.6491, allocations: 47.97 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.83e-05/0.6491, allocations: 31.91 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.825e-05/0.6492, allocations: 59.64 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.6494, allocations: 137.9 kB / 1.021 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.6494, allocations: 3.938 kB / 1.021 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.133e-06/0.6494, allocations: 0 / 1.021 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.6494, allocations: 7.984 kB / 1.021 GB, free: 15.3 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005502/0.65, allocations: 427 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.65, allocations: 12.03 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.648e-05/0.6501, allocations: 46.73 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008553/0.6509, allocations: 108.6 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.6511, allocations: 180.2 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.295e-05/0.6512, allocations: 67.95 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.6512, allocations: 8.375 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005174/0.6517, allocations: 179.3 kB / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.6517, allocations: 4 kB / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.6518, allocations: 4 kB / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.6518, allocations: 0 / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006184/0.6524, allocations: 159.8 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.6535, allocations: 481.8 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.6546, allocations: 218.3 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.6549, allocations: 76.91 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.6549, allocations: 7.984 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.655, allocations: 34.5 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.655, allocations: 4 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.00102/0.656, allocations: 261.5 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.656, allocations: 59.39 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.6562, allocations: 135.9 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.6562, allocations: 25.7 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.433e-05/0.6563, allocations: 112.2 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.6563, allocations: 15.7 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.229e-05/0.6564, allocations: 29.7 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.777e-05/0.6565, allocations: 322.8 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003047/0.6568, allocations: 75.92 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003257/0.6571, allocations: 98.42 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00059/0.6577, allocations: 158.4 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.6577, allocations: 0 / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006837/0.6584, allocations: 201.6 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.6584, allocations: 8 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.6585, allocations: 4 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.6585, allocations: 4 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.6588, allocations: 43.89 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.6588, allocations: 0 / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.659, allocations: 35.86 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.659, allocations: 4 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 0.0001013/0.6591, allocations: 113.8 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.543e-05/0.6592, allocations: 7.906 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007181/0.6599, allocations: 214.1 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.6599, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.6599, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.6599, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000255/0.6602, allocations: 241.9 kB / 1.025 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.6602, allocations: 3.938 kB / 1.025 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.6604, allocations: 35.95 kB / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.6604, allocations: 0 / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.6605, allocations: 7.922 kB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.6605, allocations: 4 kB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.6605, allocations: 0 / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006955/0.6612, allocations: 283.3 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.703e-05/0.6612, allocations: 85.02 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.6613, allocations: 7.922 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003032/0.6616, allocations: 31.95 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.6616, allocations: 3.938 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.6616, allocations: 11.98 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.216e-05/0.6617, allocations: 112.5 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6617, allocations: 0 / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002626/0.662, allocations: 27.84 kB / 1.025 GB, free: 10.23 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 (6): * Single equations (assignments): 6 * 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.0009447/0.6629, allocations: 0.8178 MB / 1.026 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006706/0.6636, allocations: 175.8 kB / 1.026 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6636, allocations: 0 / 1.026 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003086/0.6639, allocations: 83.84 kB / 1.026 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.6643, allocations: 7.938 kB / 1.026 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002973/0.6673, allocations: 1.826 MB / 1.028 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.6675, allocations: 0.7002 MB / 1.029 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.444e-05/0.6676, allocations: 15.98 kB / 1.029 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.089e-05/0.6677, allocations: 31.42 kB / 1.029 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of SimCode: time 1.493e-06/0.6677, allocations: 0 / 1.029 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01888/0.6866, allocations: 2.712 MB / 1.031 GB, free: 3.793 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.159/7.845, allocations: 1.562 kB / 1.031 GB, free: 3.793 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks_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_SmoothBlocks.fmu > Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches