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.001382/0.001382, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001921/0.001921, allocations: 218.5 kB / 23.03 MB, free: 4.945 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.521/1.521, allocations: 230.6 MB / 256.8 MB, free: 7.809 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 2.828/2.828, allocations: 476.8 MB / 0.7715 GB, free: 3.906 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_11_Buildings_Controls_SetPoints_Examples_Table",fmuType="cs",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.002031/0.002031, allocations: 66.42 kB / 1.118 GB, free: 40.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3708, allocations: 169.9 MB / 1.284 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.00379/0.3746, allocations: 1.673 MB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001413/0.3761, allocations: 0.6449 MB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.3762, allocations: 7.938 kB / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006423/0.3769, allocations: 188.3 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006117/0.3775, allocations: 207.8 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005704/0.3781, allocations: 204 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004274/0.3785, allocations: 203.5 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.3786, allocations: 21.8 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.3789, allocations: 103.6 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003211/0.3792, allocations: 175.5 kB / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.523e-05/0.3792, allocations: 16 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.3794, allocations: 39.94 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.3796, allocations: 87.73 kB / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.3797, allocations: 67.42 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005121/0.3802, allocations: 286.2 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.3802, allocations: 0 / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.374e-06/0.3802, allocations: 3.938 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.3802, allocations: 4 kB / 1.288 GB, free: 6.953 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.001159/0.3814, allocations: 0.5314 MB / 1.288 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/0.3814, allocations: 12.03 kB / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.205e-05/0.3814, allocations: 192 / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.81e-05/0.3815, allocations: 38.73 kB / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.3816, allocations: 32.75 kB / 1.288 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006291/0.3822, allocations: 316.7 kB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.3822, allocations: 8.375 kB / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.3823, allocations: 8.125 kB / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.3825, allocations: 69.66 kB / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3825, allocations: 4 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.3825, allocations: 0 / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.3825, allocations: 4 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002189/0.3828, allocations: 55.89 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007257/0.3835, allocations: 383.6 kB / 1.289 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.3837, allocations: 50.66 kB / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.3838, allocations: 24.83 kB / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.3838, allocations: 8 kB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.3839, allocations: 30.56 kB / 1.289 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.3839, allocations: 0 / 1.289 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0004405/0.3843, allocations: 113.5 kB / 1.289 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.3844, allocations: 51.41 kB / 1.29 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006871/0.385, allocations: 0.5328 MB / 1.29 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.3851, allocations: 25.7 kB / 1.29 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.3852, allocations: 176 kB / 1.29 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.3852, allocations: 11.84 kB / 1.29 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/0.3853, allocations: 17.72 kB / 1.29 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.3854, allocations: 350.7 kB / 1.291 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.98e-05/0.3855, allocations: 19.92 kB / 1.291 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.32e-05/0.3856, allocations: 23.97 kB / 1.291 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.3858, allocations: 41.11 kB / 1.291 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3858, allocations: 0 / 1.291 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002635/0.386, allocations: 105.5 kB / 1.291 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.3861, allocations: 4 kB / 1.291 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.3861, allocations: 4 kB / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.3861, allocations: 0 / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.3862, allocations: 15.98 kB / 1.291 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3862, allocations: 7.875 kB / 1.291 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.238e-05/0.3863, allocations: 7.984 kB / 1.291 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.3863, allocations: 0 / 1.291 GB, free: 3.711 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.0001791/0.3865, allocations: 173.8 kB / 1.291 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.858e-05/0.3865, allocations: 31.81 kB / 1.291 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003202/0.3869, allocations: 112.2 kB / 1.291 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3869, allocations: 0 / 1.291 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3869, allocations: 7.938 kB / 1.291 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.3869, allocations: 0 / 1.291 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003125/0.3872, allocations: 224.6 kB / 1.291 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3872, allocations: 0 / 1.291 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.685e-05/0.3873, allocations: 8 kB / 1.291 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3873, allocations: 4 kB / 1.291 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.3873, allocations: 0 / 1.291 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.3873, allocations: 7.922 kB / 1.291 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3873, allocations: 3.938 kB / 1.291 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.3876, allocations: 195.3 kB / 1.292 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.005e-05/0.3877, allocations: 35.75 kB / 1.292 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.5e-05/0.3877, allocations: 7.984 kB / 1.292 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.3878, allocations: 4 kB / 1.292 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.3879, allocations: 11.92 kB / 1.292 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.3879, allocations: 0 / 1.292 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004542/0.3883, allocations: 399.1 kB / 1.292 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3883, allocations: 0 / 1.292 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002759/0.3886, allocations: 23.94 kB / 1.292 GB, free: 2.414 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.001964/0.3906, allocations: 1.018 MB / 1.293 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000239/0.3908, allocations: 39.97 kB / 1.293 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3908, allocations: 0 / 1.293 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.893e-05/0.3909, allocations: 31.91 kB / 1.293 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005379/0.3914, allocations: 53.92 kB / 1.293 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003652/0.3951, allocations: 2.661 MB / 1.296 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.3953, allocations: 165.8 kB / 1.296 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.609e-05/0.3954, allocations: 37.92 kB / 1.296 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.3955, allocations: 87.41 kB / 1.296 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/0.3955, allocations: 0 / 1.296 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02857/0.4241, allocations: 5.526 MB / 1.301 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.26, allocations: 8 kB / 1.301 GB, free: 8.922 MB / 0.9981 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.SetPoints.Examples.Table_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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.38831075897906]