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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_11_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.004964/0.004964, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001361/0.001361, allocations: 202.6 kB / 16.68 MB, free: 5.969 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.599/2.599, allocations: 469.8 MB / 0.7426 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 68.11 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2724, allocations: 159.1 MB / 1.22 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.002688/0.2751, allocations: 1.658 MB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008456/0.276, allocations: 0.5225 MB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.736e-05/0.276, allocations: 7.938 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004505/0.2765, allocations: 179.1 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003252/0.2768, allocations: 162.4 kB / 1.223 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003722/0.2772, allocations: 191.4 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.2774, allocations: 207.5 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.2776, allocations: 37.53 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.2777, allocations: 87.66 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.2779, allocations: 151.6 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.2779, allocations: 12 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.316e-05/0.278, allocations: 40 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.533e-05/0.2781, allocations: 83.75 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.48e-05/0.2782, allocations: 99.27 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.2785, allocations: 266.8 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.2785, allocations: 3.938 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.173e-06/0.2785, allocations: 4 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.2785, allocations: 0 / 1.224 GB, free: 10.67 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.0007375/0.2793, allocations: 0.5913 MB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.2793, allocations: 8.031 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.52e-05/0.2793, allocations: 38.75 kB / 1.224 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.276e-05/0.2794, allocations: 32.7 kB / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004414/0.2799, allocations: 378.6 kB / 1.225 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-06/0.2799, allocations: 384 / 1.225 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.2799, allocations: 4.375 kB / 1.225 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.2801, allocations: 81.53 kB / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.2801, allocations: 0 / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.2801, allocations: 0 / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.2801, allocations: 4 kB / 1.225 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/0.2803, allocations: 59.83 kB / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005324/0.2808, allocations: 428.6 kB / 1.225 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.281, allocations: 50.58 kB / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.767e-05/0.2811, allocations: 24.91 kB / 1.225 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.2811, allocations: 4 kB / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.2812, allocations: 30.56 kB / 1.225 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.2812, allocations: 4 kB / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003686/0.2815, allocations: 121.4 kB / 1.226 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.2816, allocations: 51.41 kB / 1.226 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005521/0.2821, allocations: 0.5093 MB / 1.226 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.2822, allocations: 29.7 kB / 1.226 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.2823, allocations: 164.1 kB / 1.226 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.2823, allocations: 11.88 kB / 1.226 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.2823, allocations: 21.72 kB / 1.226 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.2825, allocations: 342.8 kB / 1.227 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.073e-05/0.2826, allocations: 15.98 kB / 1.227 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.775e-05/0.2827, allocations: 20.16 kB / 1.227 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.2828, allocations: 44.91 kB / 1.227 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2828, allocations: 4 kB / 1.227 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002277/0.2831, allocations: 105.4 kB / 1.227 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.2831, allocations: 4 kB / 1.227 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2831, allocations: 3.984 kB / 1.227 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.2831, allocations: 0 / 1.227 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.341e-05/0.2832, allocations: 8 kB / 1.227 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.2832, allocations: 0 / 1.227 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.127e-05/0.2833, allocations: 11.92 kB / 1.227 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.2833, allocations: 4 kB / 1.227 GB, free: 7.27 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.0001381/0.2834, allocations: 169.8 kB / 1.227 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.322e-05/0.2835, allocations: 35.8 kB / 1.227 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/0.2838, allocations: 108 kB / 1.227 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2838, allocations: 3.938 kB / 1.227 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.2838, allocations: 0 / 1.227 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2838, allocations: 7.938 kB / 1.227 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002558/0.2841, allocations: 269.5 kB / 1.227 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2841, allocations: 0 / 1.227 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.931e-05/0.2841, allocations: 11.94 kB / 1.227 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.2841, allocations: 0 / 1.227 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.2841, allocations: 3.984 kB / 1.227 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2842, allocations: 0 / 1.227 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2842, allocations: 0 / 1.227 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.2844, allocations: 203.3 kB / 1.228 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.789e-05/0.2845, allocations: 108.9 kB / 1.228 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.2846, allocations: 0 / 1.228 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.879e-05/0.2847, allocations: 8 kB / 1.228 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.2847, allocations: 11.92 kB / 1.228 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.2847, allocations: 0 / 1.228 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000399/0.2851, allocations: 391 kB / 1.228 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2851, allocations: 0 / 1.228 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002348/0.2854, allocations: 23.94 kB / 1.228 GB, free: 5.84 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.001588/0.287, allocations: 0.9743 MB / 1.229 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002087/0.2872, allocations: 39.95 kB / 1.229 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2872, allocations: 0 / 1.229 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.469e-05/0.2873, allocations: 27.92 kB / 1.229 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.2877, allocations: 50.3 kB / 1.229 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002897/0.2906, allocations: 2.603 MB / 1.232 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.291, allocations: 0.7749 MB / 1.232 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.336e-05/0.291, allocations: 41.94 kB / 1.233 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.2912, allocations: 83.41 kB / 1.233 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.2912, allocations: 0 / 1.233 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.3153, allocations: 5.026 MB / 1.237 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.159/8.474, allocations: 14.59 kB / 1.238 GB, free: 12.31 MB / 0.9981 GB (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 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_SetPoints_Examples_Table.fmu > Buildings_11_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) 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) Reference file matches