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.001388/0.001388, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001813/0.001813, allocations: 217 kB / 22.25 MB, free: 5.082 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.613/1.613, allocations: 230.6 MB / 256 MB, free: 8.027 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.046/3.046, allocations: 476.7 MB / 0.7707 GB, free: 4.426 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.002027/0.002027, allocations: 66.02 kB / 1.117 GB, free: 39.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3749, allocations: 170 MB / 1.283 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003382/0.3783, allocations: 1.718 MB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.3796, allocations: 0.672 MB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.975e-05/0.3797, allocations: 4 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005514/0.3803, allocations: 179.8 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004894/0.3808, allocations: 219.2 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004503/0.3812, allocations: 203.7 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003095/0.3815, allocations: 211.5 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.3817, allocations: 25.31 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.3818, allocations: 91.66 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002462/0.382, allocations: 171.5 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.275e-05/0.3821, allocations: 19.94 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.3822, allocations: 47.97 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.3823, allocations: 79.75 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.3824, allocations: 99.22 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004023/0.3828, allocations: 283.4 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.3828, allocations: 0 / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3828, allocations: 0 / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.644e-05/0.3828, allocations: 7.984 kB / 1.287 GB, free: 7.633 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.0008883/0.3837, allocations: 0.5276 MB / 1.288 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.3838, allocations: 16.03 kB / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.125e-05/0.3838, allocations: 34.73 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.817e-05/0.3838, allocations: 32.69 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005337/0.3844, allocations: 324.7 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-06/0.3844, allocations: 384 / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.3844, allocations: 4.375 kB / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.3846, allocations: 73.59 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.3846, allocations: 7.984 kB / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.3846, allocations: 0 / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3846, allocations: 4 kB / 1.288 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.3848, allocations: 55.89 kB / 1.288 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005864/0.3854, allocations: 399.7 kB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.3856, allocations: 50.58 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.387e-05/0.3857, allocations: 28.91 kB / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.3857, allocations: 0 / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.3858, allocations: 34.55 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.3858, allocations: 0 / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0004063/0.3862, allocations: 117.5 kB / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.3862, allocations: 63.28 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006705/0.3869, allocations: 0.5328 MB / 1.289 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.3869, allocations: 25.7 kB / 1.289 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.387, allocations: 172 kB / 1.29 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.3871, allocations: 11.84 kB / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.3871, allocations: 17.72 kB / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.3873, allocations: 342.8 kB / 1.29 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.447e-05/0.3874, allocations: 23.97 kB / 1.29 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.403e-05/0.3874, allocations: 15.98 kB / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.3876, allocations: 44.81 kB / 1.29 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3876, allocations: 0 / 1.29 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002453/0.3878, allocations: 105.4 kB / 1.29 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.3879, allocations: 4 kB / 1.29 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3879, allocations: 4 kB / 1.29 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.3879, allocations: 0 / 1.29 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.463e-05/0.388, allocations: 15.92 kB / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.388, allocations: 0 / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.334e-05/0.388, allocations: 7.938 kB / 1.29 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.3881, allocations: 4 kB / 1.29 GB, free: 4.379 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.0001602/0.3882, allocations: 169.8 kB / 1.29 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.563e-05/0.3883, allocations: 31.81 kB / 1.29 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002931/0.3886, allocations: 116.2 kB / 1.291 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3886, allocations: 0 / 1.291 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.3886, allocations: 0 / 1.291 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.3886, allocations: 7.875 kB / 1.291 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002938/0.3889, allocations: 241 kB / 1.291 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3889, allocations: 0 / 1.291 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.277e-05/0.3889, allocations: 8 kB / 1.291 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3889, allocations: 0 / 1.291 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.3889, allocations: 4 kB / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.3889, allocations: 11.98 kB / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3889, allocations: 0 / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.3893, allocations: 199.2 kB / 1.291 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.733e-05/0.3893, allocations: 31.81 kB / 1.291 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.3894, allocations: 7.984 kB / 1.291 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.3895, allocations: 4 kB / 1.291 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.3895, allocations: 15.92 kB / 1.291 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.3895, allocations: 0 / 1.291 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004774/0.39, allocations: 395.1 kB / 1.291 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.39, allocations: 0 / 1.291 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002934/0.3903, allocations: 27.88 kB / 1.291 GB, free: 3.059 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.001924/0.3922, allocations: 0.9926 MB / 1.292 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002528/0.3925, allocations: 43.97 kB / 1.292 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3925, allocations: 0 / 1.292 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.347e-05/0.3926, allocations: 27.91 kB / 1.292 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004837/0.3931, allocations: 49.3 kB / 1.293 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003438/0.3965, allocations: 2.665 MB / 1.295 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.3969, allocations: 0.7714 MB / 1.296 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.777e-05/0.397, allocations: 38.16 kB / 1.296 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.3971, allocations: 87.41 kB / 1.296 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of SimCode: time 8.52e-07/0.3971, allocations: 4 kB / 1.296 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03494/0.4321, allocations: 5.362 MB / 1.301 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.73, allocations: 5.719 kB / 1.301 GB, free: 9.109 MB / 0.9981 GB " [Timeout remaining time 287] (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: 19.373835084999882]