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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001243/0.001243, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 196.9 kB / 16.53 MB, free: 6.664 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.231/1.231, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.429/2.429, allocations: 461.9 MB / 0.7346 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 62.19 kB / 0.8992 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2221, allocations: 157.4 MB / 1.053 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.002728/0.2249, allocations: 1.671 MB / 1.055 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008034/0.2257, allocations: 0.5147 MB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.254e-05/0.2258, allocations: 4 kB / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004346/0.2262, allocations: 179.5 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003121/0.2266, allocations: 161.4 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003524/0.2269, allocations: 190.9 kB / 1.056 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.2271, allocations: 203.5 kB / 1.056 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.2273, allocations: 37.81 kB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.673e-05/0.2274, allocations: 79.73 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.2275, allocations: 155.6 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.657e-05/0.2276, allocations: 12 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.997e-05/0.2277, allocations: 47.92 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.496e-05/0.2278, allocations: 80.23 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.112e-05/0.2278, allocations: 95.28 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.2281, allocations: 259.1 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.2281, allocations: 0 / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2281, allocations: 0 / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.2281, allocations: 0 / 1.056 GB, free: 4.574 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.0006609/0.2288, allocations: 0.5836 MB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.2288, allocations: 8.625 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.455e-05/0.2289, allocations: 38.73 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.903e-05/0.2289, allocations: 28.56 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003963/0.2293, allocations: 374.3 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-06/0.2293, allocations: 384 / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.2293, allocations: 4.375 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.2295, allocations: 77.53 kB / 1.058 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.2295, allocations: 0 / 1.058 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.2296, allocations: 8 kB / 1.058 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.2296, allocations: 3.938 kB / 1.058 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.2298, allocations: 51.95 kB / 1.058 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004369/0.2302, allocations: 424.6 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.2304, allocations: 54.55 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.133e-05/0.2305, allocations: 28.89 kB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.2305, allocations: 0 / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.2305, allocations: 34.5 kB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.2305, allocations: 0 / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0003614/0.2309, allocations: 121.3 kB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.2309, allocations: 51.41 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004922/0.2314, allocations: 0.5132 MB / 1.059 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.2314, allocations: 25.7 kB / 1.059 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.888e-05/0.2315, allocations: 168 kB / 1.059 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.2316, allocations: 11.84 kB / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/0.2316, allocations: 17.72 kB / 1.059 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.2317, allocations: 350.8 kB / 1.059 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.494e-05/0.2318, allocations: 15.98 kB / 1.059 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.357e-05/0.2319, allocations: 19.98 kB / 1.059 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.2321, allocations: 48.81 kB / 1.059 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.2321, allocations: 0 / 1.059 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002224/0.2323, allocations: 105.5 kB / 1.059 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.2323, allocations: 4 kB / 1.06 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.2323, allocations: 0 / 1.06 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.2323, allocations: 48 / 1.06 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.835e-05/0.2324, allocations: 15.97 kB / 1.06 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.808e-06/0.2324, allocations: 0 / 1.06 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.371e-05/0.2325, allocations: 11.92 kB / 1.06 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.2325, allocations: 4 kB / 1.06 GB, free: 1.18 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.0001161/0.2326, allocations: 169.8 kB / 1.06 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/0.2327, allocations: 27.62 kB / 1.06 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.233, allocations: 112 kB / 1.06 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.233, allocations: 4 kB / 1.06 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.233, allocations: 0 / 1.06 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.233, allocations: 3.938 kB / 1.06 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.2332, allocations: 261.5 kB / 1.06 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2332, allocations: 0 / 1.06 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.031e-05/0.2333, allocations: 15.98 kB / 1.06 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2333, allocations: 0 / 1.06 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.2333, allocations: 0 / 1.06 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.2333, allocations: 0 / 1.06 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2333, allocations: 4 kB / 1.06 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.2336, allocations: 206.9 kB / 1.06 GB, free: 312 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.458e-05/0.2337, allocations: 116.7 kB / 1.06 GB, free: 176 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.2337, allocations: 0 / 1.06 GB, free: 176 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.2338, allocations: 7.984 kB / 1.06 GB, free: 168 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.2338, allocations: 7.938 kB / 1.06 GB, free: 160 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.2338, allocations: 0 / 1.06 GB, free: 160 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003503/0.2342, allocations: 383.1 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2342, allocations: 0 / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002435/0.2344, allocations: 24 kB / 1.061 GB, free: 15.76 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.001113/0.2356, allocations: 0.9788 MB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002126/0.2358, allocations: 51.88 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2358, allocations: 0 / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.885e-05/0.2359, allocations: 27.97 kB / 1.062 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.2363, allocations: 46.41 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002588/0.2389, allocations: 2.602 MB / 1.064 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.2392, allocations: 0.7788 MB / 1.065 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.477e-05/0.2393, allocations: 33.94 kB / 1.065 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.2394, allocations: 83.41 kB / 1.065 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.2394, allocations: 0 / 1.065 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.765/2.004, allocations: 4.936 MB / 1.07 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.846/11.85, allocations: 4.594 kB / 1.07 GB, free: 6.312 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