Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_9_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.006403/0.006403, allocations: 101.1 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.001812/0.001812, allocations: 190.4 kB / 16.67 MB, free: 5.98 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.595/1.595, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.618/2.618, allocations: 390.3 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 61.53 kB / 0.9504 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2978, allocations: 140.4 MB / 1.087 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003175/0.3011, allocations: 1.656 MB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009963/0.3021, allocations: 0.5083 MB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.3022, allocations: 7.938 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005511/0.3028, allocations: 178.9 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004525/0.3033, allocations: 171.8 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004935/0.3038, allocations: 192.9 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003256/0.3041, allocations: 203.5 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.3043, allocations: 44.33 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.3045, allocations: 83.67 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.3047, allocations: 155.6 kB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.998e-05/0.3048, allocations: 12 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.3049, allocations: 39.98 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.305, allocations: 79.73 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.3051, allocations: 99.22 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003686/0.3055, allocations: 267.9 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3055, allocations: 0 / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3055, allocations: 0 / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.493e-05/0.3055, allocations: 0 / 1.091 GB, free: 14.37 MB / 0.8575 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.0009439/0.3065, allocations: 0.5758 MB / 1.092 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.3065, allocations: 8.031 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.42e-05/0.3066, allocations: 42.69 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.064e-05/0.3067, allocations: 32.55 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00049/0.3072, allocations: 366.4 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.3072, allocations: 4.375 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.3072, allocations: 8.375 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.3074, allocations: 73.53 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.036e-06/0.3074, allocations: 7.938 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.3075, allocations: 4 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3075, allocations: 0 / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.3077, allocations: 47.95 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005654/0.3082, allocations: 432.5 kB / 1.093 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.3084, allocations: 50.55 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.519e-05/0.3085, allocations: 24.91 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.3086, allocations: 3.984 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.3086, allocations: 34.56 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.3086, allocations: 3.938 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004119/0.309, allocations: 117.4 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.3091, allocations: 51.41 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006409/0.3097, allocations: 0.5093 MB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.3097, allocations: 29.7 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.3099, allocations: 168 kB / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.3099, allocations: 19.83 kB / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.3099, allocations: 9.719 kB / 1.094 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3101, allocations: 346.8 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.404e-05/0.3102, allocations: 15.98 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.668e-05/0.3103, allocations: 15.98 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.3104, allocations: 52.81 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3105, allocations: 0 / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002595/0.3107, allocations: 101.5 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.3107, allocations: 4 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3108, allocations: 0 / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.3108, allocations: 0 / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.427e-05/0.3109, allocations: 11.98 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.3109, allocations: 0 / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.045e-05/0.311, allocations: 11.94 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.311, allocations: 11.97 kB / 1.094 GB, free: 10.98 MB / 0.8575 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.0001296/0.3111, allocations: 165.8 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.747e-05/0.3112, allocations: 27.62 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002837/0.3115, allocations: 116 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.3115, allocations: 4 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3115, allocations: 7.938 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3115, allocations: 3.938 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.3118, allocations: 261.5 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3118, allocations: 0 / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.543e-05/0.3119, allocations: 11.98 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3119, allocations: 0 / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.3119, allocations: 4 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3119, allocations: 0 / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3119, allocations: 4 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002856/0.3122, allocations: 195.1 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.704e-05/0.3123, allocations: 116.7 kB / 1.095 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.3123, allocations: 0 / 1.095 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.3124, allocations: 7.984 kB / 1.095 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.3125, allocations: 7.875 kB / 1.095 GB, free: 9.961 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.3125, allocations: 0 / 1.095 GB, free: 9.961 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003892/0.3129, allocations: 387.1 kB / 1.095 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3129, allocations: 4 kB / 1.095 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002634/0.3132, allocations: 23.94 kB / 1.095 GB, free: 9.555 MB / 0.8575 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.001259/0.3144, allocations: 0.9749 MB / 1.096 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002597/0.3147, allocations: 43.89 kB / 1.096 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.3147, allocations: 0 / 1.096 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.663e-05/0.3148, allocations: 36 kB / 1.096 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/0.3153, allocations: 49.11 kB / 1.096 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003068/0.3183, allocations: 2.58 MB / 1.099 GB, free: 5.91 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.3187, allocations: 0.7788 MB / 1.1 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.017e-05/0.3188, allocations: 33.92 kB / 1.1 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.3189, allocations: 83.41 kB / 1.1 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/0.319, allocations: 0 / 1.1 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02389/0.3429, allocations: 5.031 MB / 1.105 GB, free: 36 kB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.926/8.269, allocations: 7.984 kB / 1.105 GB, free: 28 kB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Examples.Table.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.SetPoints.Examples.Table_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_SetPoints_Examples_Table.fmu > Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Examples.Table_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches