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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001959/0.001959, allocations: 104.9 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002574/0.002574, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.56/1.56, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.138/3.138, allocations: 476.7 MB / 0.7672 GB, free: 5.348 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 71.91 kB / 1.112 GB, free: 1.613 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055/1.057, allocations: 169.9 MB / 1.278 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.004347/1.061, allocations: 1.714 MB / 1.28 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001368/1.063, allocations: 0.6564 MB / 1.281 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/1.063, allocations: 0 / 1.281 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006911/1.064, allocations: 186.4 kB / 1.281 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006756/1.064, allocations: 206.3 kB / 1.281 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006975/1.065, allocations: 195.4 kB / 1.281 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005043/1.066, allocations: 211.5 kB / 1.281 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/1.066, allocations: 35.5 kB / 1.281 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/1.066, allocations: 91.59 kB / 1.281 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003166/1.066, allocations: 171.6 kB / 1.282 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.391e-05/1.066, allocations: 12 kB / 1.282 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/1.066, allocations: 55.86 kB / 1.282 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001408/1.067, allocations: 83.67 kB / 1.282 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001433/1.067, allocations: 95.3 kB / 1.282 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005126/1.067, allocations: 282.6 kB / 1.282 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.067, allocations: 0 / 1.282 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.136e-06/1.067, allocations: 0 / 1.282 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.351e-05/1.067, allocations: 4 kB / 1.282 GB, free: 9.492 MB / 0.9825 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.001042/1.068, allocations: 0.6106 MB / 1.283 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/1.068, allocations: 8.031 kB / 1.283 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.147e-05/1.068, allocations: 34.73 kB / 1.283 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.424e-05/1.069, allocations: 32.75 kB / 1.283 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006139/1.069, allocations: 382.6 kB / 1.283 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/1.069, allocations: 8.312 kB / 1.283 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/1.069, allocations: 384 / 1.283 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/1.069, allocations: 77.61 kB / 1.283 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/1.069, allocations: 0 / 1.283 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/1.069, allocations: 7.922 kB / 1.283 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/1.069, allocations: 0 / 1.283 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002052/1.07, allocations: 51.95 kB / 1.283 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006788/1.07, allocations: 432.6 kB / 1.284 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/1.071, allocations: 50.64 kB / 1.284 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/1.071, allocations: 28.84 kB / 1.284 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/1.071, allocations: 0 / 1.284 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/1.071, allocations: 34.55 kB / 1.284 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/1.071, allocations: 4 kB / 1.284 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0004489/1.071, allocations: 121.6 kB / 1.284 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/1.071, allocations: 55.41 kB / 1.284 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006658/1.072, allocations: 0.5289 MB / 1.284 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/1.072, allocations: 29.7 kB / 1.285 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000154/1.072, allocations: 172 kB / 1.285 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/1.072, allocations: 11.91 kB / 1.285 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-05/1.072, allocations: 17.72 kB / 1.285 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001976/1.072, allocations: 342.8 kB / 1.285 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.75e-05/1.072, allocations: 31.91 kB / 1.285 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.145e-05/1.072, allocations: 11.98 kB / 1.285 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/1.073, allocations: 48.81 kB / 1.285 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.073, allocations: 3.938 kB / 1.285 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002707/1.073, allocations: 101.5 kB / 1.285 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/1.073, allocations: 8 kB / 1.285 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/1.073, allocations: 0 / 1.285 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/1.073, allocations: 0 / 1.285 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/1.073, allocations: 11.98 kB / 1.285 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/1.073, allocations: 7.922 kB / 1.285 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.105e-05/1.073, allocations: 7.938 kB / 1.285 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/1.073, allocations: 4 kB / 1.285 GB, free: 6.02 MB / 0.9825 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.0001854/1.073, allocations: 169.8 kB / 1.285 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.725e-05/1.073, allocations: 35.77 kB / 1.285 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003197/1.074, allocations: 108.2 kB / 1.286 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/1.074, allocations: 4 kB / 1.286 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.074, allocations: 0 / 1.286 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/1.074, allocations: 3.938 kB / 1.286 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003439/1.074, allocations: 269.5 kB / 1.286 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.074, allocations: 8 kB / 1.286 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.932e-05/1.074, allocations: 4 kB / 1.286 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/1.074, allocations: 4 kB / 1.286 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/1.074, allocations: 0 / 1.286 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.298e-06/1.074, allocations: 7.922 kB / 1.286 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.074, allocations: 0 / 1.286 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003379/1.075, allocations: 203.3 kB / 1.286 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/1.075, allocations: 108.9 kB / 1.286 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/1.075, allocations: 3.984 kB / 1.286 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/1.075, allocations: 4 kB / 1.286 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.356e-05/1.075, allocations: 15.92 kB / 1.286 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/1.075, allocations: 0 / 1.286 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005225/1.075, allocations: 399.1 kB / 1.287 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/1.075, allocations: 0 / 1.287 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002732/1.076, allocations: 23.95 kB / 1.287 GB, free: 4.578 MB / 0.9825 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.001969/1.078, allocations: 0.9945 MB / 1.288 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002616/1.078, allocations: 35.97 kB / 1.288 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.078, allocations: 0 / 1.288 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/1.078, allocations: 27.97 kB / 1.288 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004798/1.078, allocations: 52.03 kB / 1.288 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003727/1.082, allocations: 2.657 MB / 1.29 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004752/1.083, allocations: 0.7753 MB / 1.291 GB, free: 40 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001249/1.083, allocations: 42.02 kB / 1.291 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/1.083, allocations: 91.41 kB / 1.291 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of SimCode: time 7.82e-07/1.083, allocations: 0 / 1.291 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03295/1.116, allocations: 5.22 MB / 1.296 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.63/9.746, allocations: 13.69 kB / 1.296 GB, free: 10.73 MB / 0.9981 GB " [Timeout remaining time 290] (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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.922558919992298]