Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.SetPoints.Examples.Table.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.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_10_Buildings_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_10_Buildings_Controls_SetPoints_Examples_Table",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.001635/0.001635, allocations: 108 kB / 15.6 MB, free: 132 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.002192/0.002192, allocations: 195.3 kB / 16.53 MB, free: 6.391 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.614/1.614, allocations: 222.9 MB / 240.2 MB, free: 4.426 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 3.153/3.153, allocations: 437 MB / 0.7104 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.001871, allocations: 59.89 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8621/0.864, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.004718/0.8687, allocations: 1.658 MB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.87, allocations: 0.5185 MB / 1.02 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.8701, allocations: 0 / 1.02 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0006348/0.8708, allocations: 179.9 kB / 1.02 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0004987/0.8713, allocations: 159.7 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005336/0.8719, allocations: 191.4 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003776/0.8723, allocations: 203.6 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.8724, allocations: 35.73 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.8726, allocations: 87.61 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002516/0.8729, allocations: 155.6 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.028e-05/0.8729, allocations: 12 kB / 1.021 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.8731, allocations: 39.98 kB / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.8732, allocations: 83.67 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.8734, allocations: 91.3 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003912/0.8737, allocations: 259.1 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.8738, allocations: 0 / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8738, allocations: 0 / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.363e-05/0.8738, allocations: 0 / 1.021 GB, free: 14.85 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009246/0.8747, allocations: 0.5874 MB / 1.022 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.8748, allocations: 12.03 kB / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.562e-05/0.8748, allocations: 42.69 kB / 1.022 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.721e-05/0.8749, allocations: 28.56 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005198/0.8754, allocations: 370.4 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.8755, allocations: 384 / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.8755, allocations: 8.375 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.8757, allocations: 73.59 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.8757, allocations: 0 / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.8758, allocations: 4 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.8758, allocations: 3.938 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001997/0.876, allocations: 51.95 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006153/0.8766, allocations: 420.7 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.8768, allocations: 62.47 kB / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.837e-05/0.8769, allocations: 24.91 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.8769, allocations: 0 / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.877, allocations: 34.55 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.877, allocations: 0 / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004553/0.8774, allocations: 125.2 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.8775, allocations: 51.41 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000632/0.8781, allocations: 0.5132 MB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.8782, allocations: 25.7 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.8783, allocations: 175.9 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/0.8783, allocations: 7.906 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.8784, allocations: 13.72 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.8785, allocations: 342.8 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.367e-05/0.8786, allocations: 27.92 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.863e-05/0.8787, allocations: 15.98 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.8789, allocations: 44.81 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.8789, allocations: 0 / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002689/0.8792, allocations: 101.2 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.8792, allocations: 8 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.8792, allocations: 4 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.8792, allocations: 0 / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.589e-05/0.8793, allocations: 11.98 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.8794, allocations: 0 / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.719e-05/0.8795, allocations: 11.94 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.8795, allocations: 0 / 1.024 GB, free: 11.46 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 (3): * Single equations (assignments): 3 * 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.0001589/0.8796, allocations: 169.8 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.917e-05/0.8797, allocations: 35.62 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002997/0.88, allocations: 112 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.88, allocations: 0 / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.88, allocations: 0 / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.88, allocations: 3.938 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.8803, allocations: 261.5 kB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.8803, allocations: 0 / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.565e-05/0.8804, allocations: 11.98 kB / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.8804, allocations: 4 kB / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.8804, allocations: 4 kB / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.8804, allocations: 0 / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.8804, allocations: 0 / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.8808, allocations: 191.5 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-05/0.8809, allocations: 116.8 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.8809, allocations: 0 / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.881, allocations: 11.98 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.881, allocations: 11.91 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.8811, allocations: 4 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004316/0.8815, allocations: 391 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8815, allocations: 0 / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002697/0.8818, allocations: 19.91 kB / 1.025 GB, free: 10.04 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 (3): * Single equations (assignments): 3 * 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.001368/0.8832, allocations: 0.9611 MB / 1.026 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002405/0.8834, allocations: 59.89 kB / 1.026 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.8834, allocations: 3.938 kB / 1.026 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.442e-05/0.8835, allocations: 23.97 kB / 1.026 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004629/0.884, allocations: 46.2 kB / 1.026 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003316/0.8873, allocations: 2.613 MB / 1.029 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.8877, allocations: 0.7749 MB / 1.03 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.293e-05/0.8878, allocations: 37.94 kB / 1.03 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.888, allocations: 87.39 kB / 1.03 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of SimCode: time 3.71e-07/0.888, allocations: 0 / 1.03 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02616/0.9141, allocations: 4.937 MB / 1.035 GB, free: 0.5781 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.78/8.694, allocations: 8 kB / 1.035 GB, free: 0.5703 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Examples.Table.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.SetPoints.Examples.Table_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_Controls_SetPoints_Examples_Table.fmu > Buildings_10_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Examples.Table_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches