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.0009138/0.0009138, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00523/0.00523, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.253/1.253, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.464/2.464, allocations: 462.7 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003276/0.0003276, allocations: 13.59 kB / 0.9029 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.23, allocations: 159.6 MB / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.001611/0.2317, allocations: 1.373 MB / 1.06 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007607/0.2324, allocations: 0.5031 MB / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.704e-05/0.2325, allocations: 0 / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004063/0.2329, allocations: 163.5 kB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002769/0.2332, allocations: 152.9 kB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.2336, allocations: 174.8 kB / 1.061 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.2338, allocations: 199.5 kB / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.2339, allocations: 37.83 kB / 1.061 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.633e-05/0.234, allocations: 71.67 kB / 1.061 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.2341, allocations: 143.6 kB / 1.061 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.2342, allocations: 4 kB / 1.061 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.994e-05/0.2343, allocations: 31.92 kB / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.84e-05/0.2343, allocations: 75.73 kB / 1.062 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.988e-05/0.2344, allocations: 109 kB / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.2347, allocations: 251 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2347, allocations: 4 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2347, allocations: 8 kB / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.2347, allocations: 0 / 1.062 GB, free: 1.605 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.0006062/0.2353, allocations: 0.5409 MB / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.2353, allocations: 19.95 kB / 1.062 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.439e-05/0.2354, allocations: 38.75 kB / 1.063 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.2354, allocations: 28.56 kB / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003857/0.2358, allocations: 366.4 kB / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.2358, allocations: 12.38 kB / 1.063 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-06/0.2359, allocations: 384 / 1.063 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.236, allocations: 85.53 kB / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-06/0.2361, allocations: 0 / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.2361, allocations: 0 / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.2361, allocations: 4 kB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/0.2363, allocations: 67.94 kB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004408/0.2367, allocations: 424.5 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.2369, allocations: 54.56 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.465e-05/0.237, allocations: 32.89 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.237, allocations: 0 / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.2371, allocations: 38.56 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.2371, allocations: 0 / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0003779/0.2374, allocations: 137.3 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.2375, allocations: 55.34 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005073/0.238, allocations: 0.5171 MB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.238, allocations: 25.7 kB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.882e-05/0.2381, allocations: 160 kB / 1.064 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.2381, allocations: 15.84 kB / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/0.2382, allocations: 9.719 kB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2383, allocations: 346.8 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.13e-05/0.2384, allocations: 23.98 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.985e-05/0.2385, allocations: 24.17 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.2386, allocations: 60.89 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2386, allocations: 0 / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002358/0.2389, allocations: 113.2 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.2389, allocations: 5.406 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-06/0.2389, allocations: 7.938 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.865e-06/0.2389, allocations: 0 / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.888e-05/0.239, allocations: 15.98 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-06/0.239, allocations: 0 / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.924e-05/0.2391, allocations: 15.92 kB / 1.065 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.2391, allocations: 0 / 1.065 GB, free: 14.16 MB / 0.8262 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.0001169/0.2392, allocations: 166.3 kB / 1.065 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.831e-05/0.2393, allocations: 31.62 kB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002683/0.2396, allocations: 124 kB / 1.065 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2396, allocations: 0 / 1.065 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.2396, allocations: 0 / 1.065 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2396, allocations: 7.938 kB / 1.065 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.2398, allocations: 265.5 kB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2398, allocations: 0 / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.724e-05/0.2399, allocations: 15.98 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2399, allocations: 0 / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.2399, allocations: 4 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2399, allocations: 0 / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2399, allocations: 0 / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.2402, allocations: 211.1 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.475e-05/0.2403, allocations: 112.8 kB / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.2403, allocations: 4 kB / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.2404, allocations: 15.94 kB / 1.066 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.2405, allocations: 15.92 kB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.2405, allocations: 0 / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003546/0.2408, allocations: 383.1 kB / 1.066 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2408, allocations: 0 / 1.066 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002487/0.2411, allocations: 31.91 kB / 1.066 GB, free: 12.71 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.2422, allocations: 0.9729 MB / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000213/0.2424, allocations: 59.89 kB / 1.067 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2424, allocations: 0 / 1.067 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.296e-05/0.2425, allocations: 27.98 kB / 1.067 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.2429, allocations: 46.06 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002783/0.2457, allocations: 2.678 MB / 1.07 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.246, allocations: 0.7752 MB / 1.071 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.301e-05/0.2461, allocations: 37.92 kB / 1.071 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.2462, allocations: 83.41 kB / 1.071 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.2462, allocations: 4 kB / 1.071 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.081/2.327, allocations: 4.495 MB / 1.075 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003404/2.327, allocations: 240.3 kB / 1.076 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.416/4.743, allocations: 0 / 1.076 GB, free: 3.402 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