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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.006703/0.006703, allocations: 101.1 kB / 15.73 MB, free: 6.004 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.001732/0.001732, allocations: 187.2 kB / 16.67 MB, free: 5.922 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.723/2.723, allocations: 482.4 MB / 0.7548 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 63.39 kB / 1.083 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2978, allocations: 162.2 MB / 1.241 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003074/0.3009, allocations: 1.657 MB / 1.243 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009405/0.3019, allocations: 0.52 MB / 1.244 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.627e-05/0.302, allocations: 4 kB / 1.244 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005029/0.3025, allocations: 184.1 kB / 1.244 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003555/0.3028, allocations: 155.5 kB / 1.244 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.3033, allocations: 186.1 kB / 1.244 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002897/0.3036, allocations: 203.5 kB / 1.244 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.3037, allocations: 49.73 kB / 1.244 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.3038, allocations: 83.72 kB / 1.244 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.3041, allocations: 159.5 kB / 1.245 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.077e-05/0.3041, allocations: 12 kB / 1.245 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.734e-05/0.3042, allocations: 43.97 kB / 1.245 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.3043, allocations: 71.81 kB / 1.245 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.728e-05/0.3044, allocations: 95.28 kB / 1.245 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003409/0.3048, allocations: 270.8 kB / 1.245 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3048, allocations: 0 / 1.245 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3048, allocations: 0 / 1.245 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.3048, allocations: 0 / 1.245 GB, free: 5.637 MB / 0.9669 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.0008576/0.3057, allocations: 0.599 MB / 1.246 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.3057, allocations: 8.031 kB / 1.246 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.146e-05/0.3058, allocations: 38.75 kB / 1.246 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.329e-05/0.3058, allocations: 28.75 kB / 1.246 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004945/0.3063, allocations: 378.6 kB / 1.246 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-06/0.3063, allocations: 4.375 kB / 1.246 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.3063, allocations: 4.375 kB / 1.246 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.3066, allocations: 73.59 kB / 1.246 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.3066, allocations: 3.938 kB / 1.246 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.3066, allocations: 4 kB / 1.246 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3066, allocations: 4 kB / 1.246 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000206/0.3068, allocations: 55.88 kB / 1.246 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005472/0.3074, allocations: 424.6 kB / 1.247 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.3076, allocations: 54.64 kB / 1.247 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.617e-05/0.3077, allocations: 20.84 kB / 1.247 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.3077, allocations: 7.984 kB / 1.247 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.3077, allocations: 34.56 kB / 1.247 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3077, allocations: 0 / 1.247 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0004135/0.3082, allocations: 117.5 kB / 1.247 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.3082, allocations: 55.34 kB / 1.247 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006046/0.3088, allocations: 0.5132 MB / 1.247 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.3088, allocations: 29.7 kB / 1.247 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.309, allocations: 171.9 kB / 1.248 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.309, allocations: 3.953 kB / 1.248 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.3091, allocations: 21.7 kB / 1.248 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.3092, allocations: 342.8 kB / 1.248 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.417e-05/0.3093, allocations: 15.98 kB / 1.248 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.531e-05/0.3094, allocations: 19.97 kB / 1.248 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.3096, allocations: 49.09 kB / 1.248 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.3096, allocations: 0 / 1.248 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000253/0.3099, allocations: 101.5 kB / 1.248 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.3099, allocations: 7.938 kB / 1.248 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.3099, allocations: 0 / 1.248 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.3099, allocations: 0 / 1.248 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.466e-05/0.31, allocations: 11.98 kB / 1.248 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.31, allocations: 0 / 1.248 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.885e-05/0.3101, allocations: 15.92 kB / 1.248 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.3101, allocations: 0 / 1.248 GB, free: 2.223 MB / 0.9669 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.0001495/0.3103, allocations: 169.8 kB / 1.248 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.307e-05/0.3103, allocations: 27.81 kB / 1.248 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002897/0.3106, allocations: 108.1 kB / 1.248 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3106, allocations: 0 / 1.248 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.3106, allocations: 8 kB / 1.248 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3106, allocations: 3.938 kB / 1.248 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000279/0.3109, allocations: 261.5 kB / 1.249 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3109, allocations: 3.938 kB / 1.249 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.693e-05/0.311, allocations: 11.98 kB / 1.249 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.311, allocations: 0 / 1.249 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.311, allocations: 8 kB / 1.249 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.311, allocations: 3.938 kB / 1.249 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.311, allocations: 0 / 1.249 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.3114, allocations: 203.2 kB / 1.249 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.228e-05/0.3115, allocations: 105 kB / 1.249 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.3115, allocations: 4 kB / 1.249 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.3116, allocations: 3.984 kB / 1.249 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.3116, allocations: 7.938 kB / 1.249 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.3117, allocations: 0 / 1.249 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004303/0.3121, allocations: 395 kB / 1.249 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3121, allocations: 4 kB / 1.249 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002593/0.3124, allocations: 27.89 kB / 1.249 GB, free: 0.7969 MB / 0.9669 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.001775/0.3141, allocations: 0.9802 MB / 1.25 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002294/0.3144, allocations: 39.95 kB / 1.25 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3144, allocations: 0 / 1.25 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.3145, allocations: 31.92 kB / 1.25 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.3149, allocations: 51.8 kB / 1.25 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00315/0.3181, allocations: 2.591 MB / 1.253 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.3185, allocations: 0.7749 MB / 1.254 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.205e-05/0.3186, allocations: 37.84 kB / 1.254 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.3187, allocations: 83.41 kB / 1.254 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3187, allocations: 0 / 1.254 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02575/0.3445, allocations: 5.029 MB / 1.259 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.001/8.346, allocations: 11.94 kB / 1.259 GB, free: 7.277 MB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.SetPoints.Examples.Table_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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