Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_11_Buildings_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_11_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.008544/0.008544, allocations: 98.39 kB / 15.73 MB, free: 6.031 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.002152/0.002152, allocations: 194.1 kB / 16.67 MB, free: 5.953 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.48/1.48, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.672/2.672, allocations: 469.8 MB / 0.7425 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 63.89 kB / 1.065 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7009/0.7028, allocations: 159.1 MB / 1.22 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.002867/0.7057, allocations: 1.657 MB / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009286/0.7066, allocations: 0.5225 MB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.203e-05/0.7067, allocations: 4 kB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004956/0.7072, allocations: 179.9 kB / 1.222 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003686/0.7076, allocations: 162.3 kB / 1.223 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004173/0.708, allocations: 192.2 kB / 1.223 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000262/0.7083, allocations: 195.4 kB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.7084, allocations: 49.45 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.7085, allocations: 75.75 kB / 1.223 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.7087, allocations: 159.5 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.898e-05/0.7088, allocations: 12 kB / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.503e-05/0.7089, allocations: 47.98 kB / 1.223 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.709, allocations: 80.61 kB / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.7091, allocations: 95.28 kB / 1.223 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003154/0.7094, allocations: 262.5 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.7094, allocations: 4 kB / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7094, allocations: 3.938 kB / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.7095, allocations: 4 kB / 1.224 GB, free: 14.36 MB / 0.9512 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.0007895/0.7102, allocations: 0.5874 MB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.7103, allocations: 12.03 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.802e-05/0.7103, allocations: 34.73 kB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.102e-05/0.7104, allocations: 32.7 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004657/0.7109, allocations: 374.6 kB / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.7109, allocations: 4.375 kB / 1.225 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.7109, allocations: 4.375 kB / 1.225 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.7111, allocations: 77.59 kB / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.7111, allocations: 0 / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-06/0.7111, allocations: 0 / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.7112, allocations: 0 / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002056/0.7114, allocations: 51.95 kB / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005029/0.7119, allocations: 440.4 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.712, allocations: 54.58 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.732e-05/0.7122, allocations: 28.89 kB / 1.225 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.7122, allocations: 0 / 1.225 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.7122, allocations: 34.56 kB / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.7122, allocations: 0 / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0003938/0.7126, allocations: 113.5 kB / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.7127, allocations: 51.41 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005992/0.7133, allocations: 0.5132 MB / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.7133, allocations: 25.7 kB / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.7134, allocations: 168 kB / 1.226 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.7135, allocations: 15.89 kB / 1.226 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/0.7135, allocations: 21.66 kB / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.7137, allocations: 342.8 kB / 1.227 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.908e-05/0.7138, allocations: 15.98 kB / 1.227 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.605e-05/0.7138, allocations: 16.17 kB / 1.227 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.714, allocations: 60.89 kB / 1.227 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.714, allocations: 0 / 1.227 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002449/0.7143, allocations: 101.4 kB / 1.227 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.7143, allocations: 4 kB / 1.227 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.7143, allocations: 4 kB / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.7143, allocations: 0 / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.7145, allocations: 15.92 kB / 1.227 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.7145, allocations: 0 / 1.227 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.029e-05/0.7146, allocations: 15.92 kB / 1.227 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.7146, allocations: 0 / 1.227 GB, free: 10.95 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 (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.000153/0.7148, allocations: 165.8 kB / 1.227 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.508e-05/0.7148, allocations: 27.81 kB / 1.227 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002906/0.7151, allocations: 116 kB / 1.227 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.7151, allocations: 0 / 1.227 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.7151, allocations: 0 / 1.227 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.7151, allocations: 3.938 kB / 1.227 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/0.7154, allocations: 261.5 kB / 1.227 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.7154, allocations: 0 / 1.227 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.834e-05/0.7155, allocations: 11.98 kB / 1.227 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.7155, allocations: 3.938 kB / 1.227 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.7155, allocations: 7.938 kB / 1.227 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.7155, allocations: 0 / 1.227 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.7155, allocations: 0 / 1.227 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002858/0.7158, allocations: 199.3 kB / 1.228 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.31e-05/0.7159, allocations: 112.9 kB / 1.228 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.716, allocations: 0 / 1.228 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.7161, allocations: 7.984 kB / 1.228 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.7161, allocations: 7.938 kB / 1.228 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.7161, allocations: 4 kB / 1.228 GB, free: 9.941 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000412/0.7165, allocations: 379.1 kB / 1.228 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7165, allocations: 4 kB / 1.228 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002552/0.7168, allocations: 27.94 kB / 1.228 GB, free: 9.539 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 (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.001716/0.7185, allocations: 0.9803 MB / 1.229 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002268/0.7188, allocations: 47.95 kB / 1.229 GB, free: 8.617 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.7188, allocations: 0 / 1.229 GB, free: 8.617 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.627e-05/0.7189, allocations: 27.91 kB / 1.229 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.7193, allocations: 45.42 kB / 1.229 GB, free: 8.547 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003206/0.7225, allocations: 2.591 MB / 1.232 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.7229, allocations: 0.7748 MB / 1.232 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.946e-05/0.723, allocations: 41.92 kB / 1.232 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.7231, allocations: 83.41 kB / 1.233 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of SimCode: time 2.6e-07/0.7231, allocations: 0 / 1.233 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02557/0.7487, allocations: 5.023 MB / 1.237 GB, free: 24 kB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.955/8.704, allocations: 8.469 kB / 1.237 GB, free: 16 kB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Examples.Table.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.SetPoints.Examples.Table_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_SetPoints_Examples_Table.fmu > Buildings_11_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Examples.Table_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches