Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.SetPoints.Examples.Table.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_10_Buildings_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_10_Buildings_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 192.4 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.193/1.193, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.245/2.245, allocations: 437 MB / 0.7101 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 63.89 kB / 0.8688 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.486/0.4871, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.002563/0.4897, allocations: 1.713 MB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007474/0.4905, allocations: 0.5186 MB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.554e-05/0.4906, allocations: 3.938 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0004212/0.491, allocations: 170.3 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0003081/0.4913, allocations: 149.7 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/0.4917, allocations: 183.3 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.4919, allocations: 199.5 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.492, allocations: 39.73 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.965e-05/0.4921, allocations: 83.67 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.4923, allocations: 159.6 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.968e-05/0.4923, allocations: 12 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.234e-05/0.4924, allocations: 39.98 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.67e-05/0.4925, allocations: 75.75 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.621e-05/0.4925, allocations: 103.2 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.4928, allocations: 259.1 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.4928, allocations: 0 / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4928, allocations: 3.938 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.428e-06/0.4928, allocations: 4 kB / 1.021 GB, free: 15 MB / 0.7794 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.0006353/0.4934, allocations: 0.5797 MB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.4935, allocations: 8.031 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.328e-05/0.4935, allocations: 42.73 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.418e-05/0.4936, allocations: 28.56 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004161/0.494, allocations: 374.3 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-06/0.494, allocations: 384 / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.494, allocations: 8.375 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.4942, allocations: 73.59 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.4942, allocations: 0 / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.4942, allocations: 8 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.4942, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.4944, allocations: 55.88 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004245/0.4948, allocations: 424.6 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.495, allocations: 50.59 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.087e-05/0.4951, allocations: 28.89 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.4951, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.4952, allocations: 34.56 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.4952, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003391/0.4955, allocations: 117.3 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.4955, allocations: 51.41 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004736/0.496, allocations: 0.5171 MB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.496, allocations: 33.64 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.575e-05/0.4961, allocations: 168 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.4962, allocations: 11.91 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.4962, allocations: 13.7 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.4963, allocations: 342.8 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.858e-05/0.4964, allocations: 19.98 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.731e-05/0.4965, allocations: 15.97 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.4966, allocations: 48.83 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4966, allocations: 0 / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001998/0.4968, allocations: 97.28 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.4968, allocations: 4 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.4969, allocations: 4 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.908e-06/0.4969, allocations: 3.938 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.253e-05/0.4969, allocations: 15.92 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.497, allocations: 0 / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.992e-05/0.497, allocations: 15.92 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.497, allocations: 4 kB / 1.024 GB, free: 11.61 MB / 0.7794 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.0001159/0.4972, allocations: 165.8 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/0.4972, allocations: 27.62 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.4975, allocations: 112.4 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.4975, allocations: 4.031 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.4975, allocations: 4 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.4975, allocations: 3.938 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.4977, allocations: 257.5 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4977, allocations: 0 / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.096e-05/0.4978, allocations: 19.92 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.4978, allocations: 0 / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.4978, allocations: 0 / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.4978, allocations: 0 / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4978, allocations: 4 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.4981, allocations: 199.1 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.18e-05/0.4981, allocations: 112.8 kB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.4982, allocations: 0 / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.506e-05/0.4983, allocations: 7.984 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.4983, allocations: 3.938 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.4983, allocations: 3.938 kB / 1.024 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003374/0.4986, allocations: 387.1 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4987, allocations: 4 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002334/0.4989, allocations: 27.89 kB / 1.025 GB, free: 10.19 MB / 0.7794 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.001064/0.5, allocations: 0.9685 MB / 1.026 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001937/0.5002, allocations: 43.95 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5002, allocations: 4 kB / 1.026 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.5003, allocations: 23.92 kB / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.5007, allocations: 49.47 kB / 1.026 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/0.5034, allocations: 2.656 MB / 1.029 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.5037, allocations: 0.7749 MB / 1.029 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.219e-05/0.5037, allocations: 37.92 kB / 1.029 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.5038, allocations: 87.41 kB / 1.029 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of SimCode: time 1.433e-06/0.5039, allocations: 0 / 1.029 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7775/1.281, allocations: 4.801 MB / 1.034 GB, free: 0.8711 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002577/1.282, allocations: 234.3 kB / 1.034 GB, free: 0.6133 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.819/3.101, allocations: 0 / 1.034 GB, free: 0.6133 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Examples.Table.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.SetPoints.Examples.Table_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_SetPoints_Examples_Table.fmu > Buildings_10_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches