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.001375/0.001375, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001658/0.001658, allocations: 215.3 kB / 23.04 MB, free: 5.07 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.551/1.551, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.058/3.058, allocations: 476.7 MB / 0.7715 GB, free: 4.258 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.002118/0.002118, allocations: 66.33 kB / 1.118 GB, free: 39.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4264/0.4285, allocations: 170 MB / 1.284 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003332/0.4318, allocations: 1.717 MB / 1.286 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.4332, allocations: 0.6721 MB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.4333, allocations: 7.938 kB / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007126/0.434, allocations: 183.8 kB / 1.287 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005332/0.4345, allocations: 203.9 kB / 1.287 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004725/0.435, allocations: 203.9 kB / 1.287 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003102/0.4353, allocations: 203.5 kB / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.4354, allocations: 33.3 kB / 1.287 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.4356, allocations: 91.61 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002672/0.4359, allocations: 183.5 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.307e-05/0.4359, allocations: 12 kB / 1.288 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.436, allocations: 43.94 kB / 1.288 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.4361, allocations: 79.73 kB / 1.288 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.4362, allocations: 99.23 kB / 1.288 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003756/0.4366, allocations: 282.7 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4366, allocations: 0 / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4366, allocations: 3.938 kB / 1.288 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.4366, allocations: 0 / 1.288 GB, free: 7.613 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.0009105/0.4375, allocations: 0.5353 MB / 1.289 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.4376, allocations: 8.031 kB / 1.289 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.304e-05/0.4376, allocations: 8.188 kB / 1.289 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.693e-05/0.4376, allocations: 38.73 kB / 1.289 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.423e-05/0.4377, allocations: 28.75 kB / 1.289 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005293/0.4382, allocations: 324.7 kB / 1.289 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.4382, allocations: 4.375 kB / 1.289 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.4382, allocations: 8.125 kB / 1.289 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.4385, allocations: 77.59 kB / 1.289 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.4385, allocations: 0 / 1.289 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.4385, allocations: 4 kB / 1.289 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.4385, allocations: 0 / 1.289 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.4387, allocations: 51.95 kB / 1.289 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005576/0.4392, allocations: 395.7 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.4394, allocations: 58.58 kB / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.583e-05/0.4395, allocations: 24.91 kB / 1.29 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.4395, allocations: 0 / 1.29 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.4396, allocations: 34.55 kB / 1.29 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.4396, allocations: 0 / 1.29 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0004154/0.44, allocations: 121.5 kB / 1.29 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.44, allocations: 51.41 kB / 1.29 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006396/0.4407, allocations: 0.5289 MB / 1.29 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.4407, allocations: 25.7 kB / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.4408, allocations: 180 kB / 1.29 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.4409, allocations: 11.84 kB / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.4409, allocations: 13.72 kB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.4411, allocations: 354.8 kB / 1.291 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.981e-05/0.4412, allocations: 15.97 kB / 1.291 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.475e-05/0.4412, allocations: 20.17 kB / 1.291 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.4414, allocations: 48.89 kB / 1.291 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4414, allocations: 0 / 1.291 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002755/0.4417, allocations: 105.5 kB / 1.291 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.4417, allocations: 4 kB / 1.291 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.4417, allocations: 0 / 1.291 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.4417, allocations: 0 / 1.291 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.39e-05/0.4418, allocations: 11.98 kB / 1.291 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.4418, allocations: 7.875 kB / 1.291 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.384e-05/0.4419, allocations: 4 kB / 1.291 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.4419, allocations: 4 kB / 1.291 GB, free: 4.348 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.0001642/0.4421, allocations: 173.8 kB / 1.291 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.934e-05/0.4421, allocations: 31.77 kB / 1.291 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003052/0.4424, allocations: 112.3 kB / 1.291 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.4425, allocations: 0 / 1.291 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4425, allocations: 3.938 kB / 1.291 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4425, allocations: 0 / 1.291 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/0.4427, allocations: 240.6 kB / 1.292 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.4427, allocations: 3.984 kB / 1.292 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.156e-05/0.4428, allocations: 12 kB / 1.292 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.4428, allocations: 3.938 kB / 1.292 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.4428, allocations: 4 kB / 1.292 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4428, allocations: 3.938 kB / 1.292 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-06/0.4428, allocations: 11.92 kB / 1.292 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.4431, allocations: 187.3 kB / 1.292 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.874e-05/0.4432, allocations: 39.81 kB / 1.292 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/0.4432, allocations: 3.984 kB / 1.292 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.4433, allocations: 4 kB / 1.292 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.4434, allocations: 11.92 kB / 1.292 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.4434, allocations: 4 kB / 1.292 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004341/0.4438, allocations: 395.1 kB / 1.292 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4438, allocations: 3.938 kB / 1.292 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000263/0.4441, allocations: 27.89 kB / 1.292 GB, free: 3.023 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.001845/0.4459, allocations: 0.996 MB / 1.293 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002354/0.4461, allocations: 35.97 kB / 1.293 GB, free: 2.098 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4461, allocations: 0 / 1.293 GB, free: 2.098 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.4462, allocations: 27.91 kB / 1.293 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00051/0.4467, allocations: 48.7 kB / 1.293 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003502/0.4502, allocations: 2.66 MB / 1.296 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/0.4507, allocations: 0.7753 MB / 1.297 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.788e-05/0.4508, allocations: 41.92 kB / 1.297 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.4509, allocations: 91.41 kB / 1.297 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/0.4509, allocations: 0 / 1.297 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02796/0.4789, allocations: 5.376 MB / 1.302 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.3, allocations: 12.69 kB / 1.302 GB, free: 9.059 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: 20.03795333200833]