Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_latest_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.001215/0.001215, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001221/0.001221, allocations: 199.3 kB / 16.14 MB, free: 6.711 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.237/1.237, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.452/2.452, allocations: 461.9 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 65.27 kB / 0.8985 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2396, allocations: 157.4 MB / 1.052 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.002724/0.2423, allocations: 1.72 MB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008172/0.2432, allocations: 0.5108 MB / 1.054 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.491e-05/0.2432, allocations: 3.938 kB / 1.054 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004457/0.2437, allocations: 167.7 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002761/0.244, allocations: 144.8 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003493/0.2443, allocations: 185.3 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.2445, allocations: 199.5 kB / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.2446, allocations: 33.81 kB / 1.055 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.348e-05/0.2447, allocations: 71.73 kB / 1.055 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.2449, allocations: 151.5 kB / 1.055 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.245, allocations: 8 kB / 1.055 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.432e-05/0.245, allocations: 24 kB / 1.055 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.527e-05/0.2451, allocations: 79.73 kB / 1.055 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.887e-05/0.2452, allocations: 83.28 kB / 1.055 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.2455, allocations: 267 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2455, allocations: 0 / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.72e-07/0.2455, allocations: 3.938 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.2455, allocations: 0 / 1.056 GB, free: 4.648 MB / 0.8106 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.0006806/0.2462, allocations: 0.5759 MB / 1.056 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.2462, allocations: 11.97 kB / 1.056 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.895e-05/0.2463, allocations: 34.75 kB / 1.056 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.832e-05/0.2463, allocations: 32.56 kB / 1.056 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004045/0.2467, allocations: 374.3 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-06/0.2467, allocations: 8.312 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.2468, allocations: 4.375 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.2469, allocations: 73.59 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.247, allocations: 3.938 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.247, allocations: 0 / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.247, allocations: 4 kB / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.2472, allocations: 51.95 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004513/0.2476, allocations: 428.6 kB / 1.057 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.2478, allocations: 50.61 kB / 1.057 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.936e-05/0.2479, allocations: 28.81 kB / 1.057 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.2479, allocations: 8 kB / 1.057 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.2479, allocations: 30.56 kB / 1.057 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.2479, allocations: 0 / 1.057 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0003572/0.2483, allocations: 117.2 kB / 1.057 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.2483, allocations: 55.41 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005002/0.2488, allocations: 0.5093 MB / 1.058 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.2489, allocations: 29.7 kB / 1.058 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.249, allocations: 168 kB / 1.058 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.249, allocations: 7.844 kB / 1.058 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.249, allocations: 17.72 kB / 1.058 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.2492, allocations: 342.8 kB / 1.059 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.018e-05/0.2492, allocations: 23.91 kB / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.827e-05/0.2493, allocations: 24.16 kB / 1.059 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.2495, allocations: 40.83 kB / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2495, allocations: 0 / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002163/0.2497, allocations: 105.3 kB / 1.059 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.2497, allocations: 5.562 kB / 1.059 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.2498, allocations: 0 / 1.059 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.736e-06/0.2498, allocations: 0 / 1.059 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.891e-05/0.2498, allocations: 12 kB / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2499, allocations: 7.969 kB / 1.059 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.228e-05/0.2499, allocations: 11.94 kB / 1.059 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.25, allocations: 3.938 kB / 1.059 GB, free: 1.254 MB / 0.8106 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.0001274/0.2501, allocations: 174.3 kB / 1.059 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.708e-05/0.2501, allocations: 27.62 kB / 1.059 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/0.2504, allocations: 108.1 kB / 1.059 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2504, allocations: 0 / 1.059 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.2504, allocations: 0 / 1.059 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.2504, allocations: 15.86 kB / 1.059 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.2507, allocations: 261.5 kB / 1.059 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2507, allocations: 0 / 1.059 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.954e-05/0.2507, allocations: 8 kB / 1.059 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2507, allocations: 3.984 kB / 1.059 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.2507, allocations: 0 / 1.059 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2508, allocations: 0 / 1.059 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2508, allocations: 7.938 kB / 1.059 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.251, allocations: 199.1 kB / 1.06 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.3e-05/0.2511, allocations: 108.7 kB / 1.06 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.2511, allocations: 0 / 1.06 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.6e-05/0.2512, allocations: 8 kB / 1.06 GB, free: 252 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.2513, allocations: 11.92 kB / 1.06 GB, free: 240 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.706e-06/0.2513, allocations: 7.938 kB / 1.06 GB, free: 232 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003591/0.2517, allocations: 383.2 kB / 1.06 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2517, allocations: 0 / 1.06 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002412/0.2519, allocations: 28 kB / 1.06 GB, free: 15.82 MB / 0.8262 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.001109/0.253, allocations: 0.9712 MB / 1.061 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001949/0.2532, allocations: 39.95 kB / 1.061 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2532, allocations: 4 kB / 1.061 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.393e-05/0.2533, allocations: 19.98 kB / 1.061 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.2537, allocations: 56.64 kB / 1.061 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002778/0.2565, allocations: 2.64 MB / 1.064 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.2568, allocations: 0.7713 MB / 1.064 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.761e-05/0.2569, allocations: 45.92 kB / 1.065 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.257, allocations: 87.39 kB / 1.065 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.257, allocations: 0 / 1.065 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.201/0.458, allocations: 4.701 MB / 1.069 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/0.4582, allocations: 234.9 kB / 1.069 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.729/2.187, allocations: 7.062 kB / 1.069 GB, free: 6.355 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Examples.Table_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Examples_Table.fmu > Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches