Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.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.HeatTransfer.Radiosity.Examples.OpaqueSurface,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface",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.004234/0.004234, allocations: 97.84 kB / 15.73 MB, free: 6.051 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.001251/0.001251, allocations: 197.5 kB / 16.67 MB, free: 5.977 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: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.893/2.893, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 67.89 kB / 1.083 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2799, allocations: 162.2 MB / 1.241 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.002715/0.2826, allocations: 1.623 MB / 1.243 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007504/0.2834, allocations: 474.8 kB / 1.243 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.594e-05/0.2835, allocations: 0 / 1.243 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.356e-05/0.2835, allocations: 11.86 kB / 1.243 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.2837, allocations: 51.62 kB / 1.244 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001628/0.2838, allocations: 23.97 kB / 1.244 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.284, allocations: 143.3 kB / 1.244 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.2841, allocations: 39.97 kB / 1.244 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.2843, allocations: 59.72 kB / 1.244 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.2844, allocations: 55.77 kB / 1.244 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.2844, allocations: 8 kB / 1.244 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.724e-05/0.2845, allocations: 8 kB / 1.244 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.94e-05/0.2845, allocations: 19.92 kB / 1.244 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.186e-05/0.2846, allocations: 55.72 kB / 1.244 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.2847, allocations: 107.5 kB / 1.244 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2847, allocations: 0 / 1.244 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2847, allocations: 4 kB / 1.244 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.2848, allocations: 0 / 1.244 GB, free: 7.57 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005628/0.2853, allocations: 411 kB / 1.244 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.2854, allocations: 12.03 kB / 1.244 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.641e-05/0.2854, allocations: 34.75 kB / 1.244 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.2854, allocations: 12.89 kB / 1.244 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.2857, allocations: 201.4 kB / 1.245 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.2857, allocations: 12.38 kB / 1.245 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.2858, allocations: 4.375 kB / 1.245 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.2859, allocations: 81.73 kB / 1.245 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.2859, allocations: 0 / 1.245 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.2859, allocations: 0 / 1.245 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.2859, allocations: 0 / 1.245 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.781e-05/0.286, allocations: 35.98 kB / 1.245 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006615/0.2867, allocations: 495.3 kB / 1.245 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.287, allocations: 151.7 kB / 1.245 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.857e-05/0.2871, allocations: 20.89 kB / 1.245 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.2871, allocations: 4 kB / 1.245 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.2871, allocations: 38.64 kB / 1.245 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.2871, allocations: 4.031 kB / 1.245 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0005458/0.2877, allocations: 195.4 kB / 1.246 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.462e-05/0.2877, allocations: 51.41 kB / 1.246 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.2879, allocations: 164.6 kB / 1.246 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.2879, allocations: 29.7 kB / 1.246 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.876e-05/0.288, allocations: 108 kB / 1.246 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.374e-05/0.288, allocations: 11.91 kB / 1.246 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.2881, allocations: 25.7 kB / 1.246 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.2882, allocations: 314.8 kB / 1.246 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.341e-05/0.2882, allocations: 19.98 kB / 1.246 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.374e-05/0.2883, allocations: 38.52 kB / 1.246 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.601e-05/0.2884, allocations: 36.86 kB / 1.246 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.2884, allocations: 0 / 1.246 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002218/0.2886, allocations: 102.4 kB / 1.247 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.2886, allocations: 7.938 kB / 1.247 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-06/0.2886, allocations: 0 / 1.247 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001587/0.2888, allocations: 28.78 kB / 1.247 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.593e-05/0.2889, allocations: 4 kB / 1.247 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/0.2902, allocations: 1.41 MB / 1.248 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.2903, allocations: 8.094 kB / 1.248 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.2903, allocations: 8 kB / 1.248 GB, free: 3.086 MB / 0.9981 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.847e-05/0.2904, allocations: 114.4 kB / 1.248 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.2905, allocations: 7.953 kB / 1.248 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.641e-05/0.2905, allocations: 12.25 kB / 1.248 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.2905, allocations: 0 / 1.248 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2905, allocations: 3.938 kB / 1.248 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2905, allocations: 3.984 kB / 1.248 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004702/0.291, allocations: 363.5 kB / 1.248 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.291, allocations: 4 kB / 1.248 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.081e-05/0.291, allocations: 7.938 kB / 1.248 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001019/0.2911, allocations: 24.84 kB / 1.248 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.2911, allocations: 4.219 kB / 1.248 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001167/0.2923, allocations: 1.394 MB / 1.25 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.2923, allocations: 3.938 kB / 1.25 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.2926, allocations: 180.5 kB / 1.25 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.245e-05/0.2927, allocations: 92.98 kB / 1.25 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.2927, allocations: 3.938 kB / 1.25 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.468e-05/0.2928, allocations: 11.89 kB / 1.25 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.795e-05/0.2928, allocations: 4 kB / 1.25 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.2928, allocations: 0 / 1.25 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001198/0.2929, allocations: 121.7 kB / 1.25 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2929, allocations: 4 kB / 1.25 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002751/0.2932, allocations: 32 kB / 1.25 GB, free: 476 kB / 0.9981 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): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.4574/0.7506, allocations: 0.7087 MB / 1.251 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003862/0.7511, allocations: 157.3 kB / 1.251 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7511, allocations: 0 / 1.251 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.7512, allocations: 136.5 kB / 1.251 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.7516, allocations: 33.47 kB / 1.251 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.753, allocations: 1.562 MB / 1.253 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.7531, allocations: 0.6978 MB / 1.253 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.548e-05/0.7531, allocations: 11.55 kB / 1.253 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.046e-05/0.7532, allocations: 27.58 kB / 1.254 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of SimCode: time 3.9e-07/0.7532, allocations: 0 / 1.254 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.027/0.7802, allocations: 3.156 MB / 1.257 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.391/10.17, allocations: 8.969 kB / 1.257 GB, free: 12.2 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_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_HeatTransfer_Radiosity_Examples_OpaqueSurface.fmu > Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches