Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",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.00155/0.00155, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001902/0.001902, allocations: 193.7 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.021/2.021, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.886/2.886, allocations: 461.9 MB / 0.7344 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 67.39 kB / 0.8987 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4419/0.4438, allocations: 157.4 MB / 1.052 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.008778/0.4527, allocations: 7.299 MB / 1.06 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.007408/0.4601, allocations: 5.106 MB / 1.065 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001821/0.462, allocations: 39.75 kB / 1.065 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.005387/0.4674, allocations: 1.606 MB / 1.066 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002942/0.4704, allocations: 0.52 MB / 1.067 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.4716, allocations: 207.7 kB / 1.067 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002936/0.4745, allocations: 1.774 MB / 1.069 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009213/0.4754, allocations: 0.5736 MB / 1.069 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001208/0.4767, allocations: 0.6918 MB / 1.07 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008644/0.4776, allocations: 0.8279 MB / 1.071 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.4777, allocations: 80 kB / 1.071 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004317/0.4782, allocations: 207.8 kB / 1.071 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002812/0.4785, allocations: 326.6 kB / 1.071 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0006353/0.4791, allocations: 0.7882 MB / 1.072 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001929/0.481, allocations: 2.199 MB / 1.074 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.481, allocations: 4 kB / 1.074 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4811, allocations: 0 / 1.074 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.466e-05/0.4811, allocations: 0 / 1.074 GB, free: 2.281 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.002739/0.4838, allocations: 2.2 MB / 1.076 GB, free: 16 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.4839, allocations: 8.031 kB / 1.076 GB, free: 8 kB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.732e-05/0.484, allocations: 78.7 kB / 1.076 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002262/0.4842, allocations: 206.4 kB / 1.077 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002113/0.4863, allocations: 1.567 MB / 1.078 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/0.4864, allocations: 29 kB / 1.078 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.515e-05/0.4864, allocations: 35.98 kB / 1.078 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006741/0.4871, allocations: 450.3 kB / 1.079 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.4871, allocations: 0 / 1.079 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.866e-05/0.4872, allocations: 15.94 kB / 1.079 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.135e-05/0.4872, allocations: 32.92 kB / 1.079 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005764/0.4878, allocations: 419.7 kB / 1.079 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002873/0.4907, allocations: 2.331 MB / 1.081 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009048/0.4916, allocations: 0.4967 MB / 1.082 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002585/0.4919, allocations: 201.3 kB / 1.082 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.4919, allocations: 4.281 kB / 1.082 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.4919, allocations: 38.78 kB / 1.082 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=34): time 1.633e-06/0.4919, allocations: 0 / 1.082 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34): time 0.0008906/0.4928, allocations: 0.6414 MB / 1.083 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.4929, allocations: 55.41 kB / 1.083 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003011/0.4959, allocations: 2.587 MB / 1.085 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.4959, allocations: 29.7 kB / 1.085 GB, free: 6.508 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007238/0.4967, allocations: 0.7643 MB / 1.086 GB, free: 5.738 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.189e-05/0.4968, allocations: 122.3 kB / 1.086 GB, free: 5.617 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.4969, allocations: 65.61 kB / 1.086 GB, free: 5.547 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.497, allocations: 322.5 kB / 1.086 GB, free: 5.227 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.4972, allocations: 139.8 kB / 1.087 GB, free: 5.09 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.4975, allocations: 189.9 kB / 1.087 GB, free: 4.898 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004281/0.4979, allocations: 321.2 kB / 1.087 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.4979, allocations: 0 / 1.087 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006895/0.4986, allocations: 0.5185 MB / 1.088 GB, free: 4.055 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.4987, allocations: 9.406 kB / 1.088 GB, free: 4.047 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.4987, allocations: 4 kB / 1.088 GB, free: 4.043 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.4987, allocations: 0 / 1.088 GB, free: 4.043 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000322/0.499, allocations: 79.89 kB / 1.088 GB, free: 3.965 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.499, allocations: 4 kB / 1.088 GB, free: 3.961 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003669/0.4994, allocations: 39.61 kB / 1.088 GB, free: 3.922 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.4994, allocations: 8 kB / 1.088 GB, free: 3.914 MB / 0.8419 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 (36): * Single equations (assignments): 36 * 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.0007771/0.5002, allocations: 0.6886 MB / 1.088 GB, free: 3.215 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002107/0.5004, allocations: 181.7 kB / 1.089 GB, free: 3.035 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003009/0.5007, allocations: 215.2 kB / 1.089 GB, free: 2.824 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.5008, allocations: 4 kB / 1.089 GB, free: 2.82 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.5008, allocations: 4 kB / 1.089 GB, free: 2.816 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.5008, allocations: 3.984 kB / 1.089 GB, free: 2.812 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002088/0.5029, allocations: 1.574 MB / 1.09 GB, free: 1.168 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.5029, allocations: 4 kB / 1.09 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000285/0.5032, allocations: 79.83 kB / 1.09 GB, free: 1.086 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.5032, allocations: 4 kB / 1.09 GB, free: 1.082 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.429e-05/0.5032, allocations: 8 kB / 1.09 GB, free: 1.074 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.5032, allocations: 0 / 1.09 GB, free: 1.074 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.5032, allocations: 3.938 kB / 1.09 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007334/0.504, allocations: 0.6465 MB / 1.091 GB, free: 404 kB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005578/0.5046, allocations: 370.6 kB / 1.091 GB, free: 12 kB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/0.5047, allocations: 7.984 kB / 1.091 GB, free: 4 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/0.5051, allocations: 15.89 kB / 1.091 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.5052, allocations: 31.86 kB / 1.091 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.5052, allocations: 8 kB / 1.091 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002287/0.5075, allocations: 1.843 MB / 1.093 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.81e-07/0.5075, allocations: 0 / 1.093 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000611/0.5081, allocations: 227.8 kB / 1.094 GB, free: 13.87 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (34): * Single equations (assignments): 34 * 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.001352/0.5095, allocations: 1.261 MB / 1.095 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006593/0.5101, allocations: 407.9 kB / 1.095 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.5102, allocations: 4 kB / 1.095 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002219/0.5104, allocations: 176 kB / 1.095 GB, free: 12 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/0.5126, allocations: 0.6272 MB / 1.096 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02674/0.5393, allocations: 17.17 MB / 1.113 GB, free: 9.379 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001426/0.5409, allocations: 1.751 MB / 1.114 GB, free: 7.59 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001098/0.542, allocations: 352.8 kB / 1.115 GB, free: 7.238 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007465/0.5427, allocations: 0.6048 MB / 1.115 GB, free: 6.633 MB / 0.8731 GB Notification: Performance of SimCode: time 2.034e-06/0.5427, allocations: 4 kB / 1.115 GB, free: 6.629 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.333/4.875, allocations: 39.99 MB / 1.154 GB, free: 15.2 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004672/4.876, allocations: 293.5 kB / 1.155 GB, free: 14.82 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.972/9.848, allocations: 1.875 kB / 1.155 GB, free: 14.82 MB / 0.92 GB (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches