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.00149/0.00149, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00176/0.00176, allocations: 216.8 kB / 22.24 MB, free: 4.855 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.611/1.611, allocations: 230.7 MB / 256 MB, free: 7.973 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.107/3.107, allocations: 476 MB / 0.7699 GB, free: 4.754 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.002162/0.002162, allocations: 67.08 kB / 1.117 GB, free: 41.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3427, allocations: 170 MB / 1.283 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003989/0.3467, allocations: 1.677 MB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001621/0.3483, allocations: 0.6371 MB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001873/0.3485, allocations: 11.94 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000687/0.3492, allocations: 184.8 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007199/0.3499, allocations: 205.6 kB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006456/0.3505, allocations: 190.8 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005179/0.3511, allocations: 211.5 kB / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002243/0.3513, allocations: 25.78 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002824/0.3516, allocations: 95.59 kB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003765/0.352, allocations: 171.5 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.81e-05/0.352, allocations: 16 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.3522, allocations: 43.98 kB / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.3524, allocations: 83.69 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.3525, allocations: 75.39 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005327/0.353, allocations: 278.3 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3531, allocations: 0 / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3531, allocations: 4 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.444e-05/0.3531, allocations: 3.984 kB / 1.286 GB, free: 8.645 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.001148/0.3542, allocations: 0.5275 MB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.3543, allocations: 12.03 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.471e-05/0.3543, allocations: 42.73 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.916e-05/0.3544, allocations: 32.75 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006336/0.3551, allocations: 316.8 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.3551, allocations: 4.375 kB / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.3551, allocations: 4.312 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.3553, allocations: 81.53 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3553, allocations: 0 / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.3554, allocations: 0 / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.3554, allocations: 0 / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002142/0.3556, allocations: 59.94 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006981/0.3563, allocations: 387.6 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.3565, allocations: 42.56 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.3566, allocations: 28.89 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.3566, allocations: 0 / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.3566, allocations: 34.56 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.3566, allocations: 0 / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0004696/0.3571, allocations: 125.5 kB / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.3572, allocations: 51.41 kB / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007428/0.3579, allocations: 0.5289 MB / 1.289 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.3579, allocations: 25.7 kB / 1.289 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.3581, allocations: 172 kB / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.3581, allocations: 19.83 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.3581, allocations: 17.66 kB / 1.289 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.3583, allocations: 350.8 kB / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.885e-05/0.3584, allocations: 15.98 kB / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.806e-05/0.3585, allocations: 27.97 kB / 1.289 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.3587, allocations: 40.83 kB / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3587, allocations: 0 / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002653/0.3589, allocations: 105.4 kB / 1.289 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.3589, allocations: 4 kB / 1.289 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.359, allocations: 4 kB / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.359, allocations: 0 / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.934e-05/0.3591, allocations: 11.98 kB / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3591, allocations: 0 / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.151e-05/0.3592, allocations: 11.92 kB / 1.289 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.3592, allocations: 4 kB / 1.289 GB, free: 5.398 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.0001715/0.3593, allocations: 165.8 kB / 1.289 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.742e-05/0.3594, allocations: 27.81 kB / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003196/0.3597, allocations: 124.2 kB / 1.29 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3597, allocations: 0 / 1.29 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3597, allocations: 3.938 kB / 1.29 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3597, allocations: 3.938 kB / 1.29 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/0.36, allocations: 224.7 kB / 1.29 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.36, allocations: 0 / 1.29 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.498e-05/0.3601, allocations: 8 kB / 1.29 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3601, allocations: 0 / 1.29 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.3601, allocations: 0 / 1.29 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.3601, allocations: 7.984 kB / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3601, allocations: 4 kB / 1.29 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.3604, allocations: 203.6 kB / 1.29 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.249e-05/0.3605, allocations: 31.81 kB / 1.29 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.3606, allocations: 7.984 kB / 1.29 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.3607, allocations: 0 / 1.29 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.3607, allocations: 11.92 kB / 1.29 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.3607, allocations: 0 / 1.29 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004755/0.3612, allocations: 399.1 kB / 1.29 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3612, allocations: 0 / 1.29 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002925/0.3615, allocations: 31.94 kB / 1.29 GB, free: 4.098 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.002002/0.3635, allocations: 1.014 MB / 1.291 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002495/0.3637, allocations: 43.91 kB / 1.292 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3637, allocations: 0 / 1.292 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.841e-05/0.3638, allocations: 23.97 kB / 1.292 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004921/0.3643, allocations: 45.11 kB / 1.292 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003714/0.3681, allocations: 2.661 MB / 1.294 GB, free: 372 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.3682, allocations: 161.8 kB / 1.294 GB, free: 184 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001058/0.3684, allocations: 41.92 kB / 1.294 GB, free: 144 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.3685, allocations: 91.41 kB / 1.294 GB, free: 56 kB / 0.9825 GB Notification: Performance of SimCode: time 6.02e-07/0.3685, allocations: 0 / 1.294 GB, free: 56 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03615/0.4046, allocations: 5.91 MB / 1.3 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.77, allocations: 2.344 kB / 1.3 GB, free: 10.22 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 & /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.14910921966657]