Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_10_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.001487/0.001487, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001421/0.00142, allocations: 191.7 kB / 16.14 MB, free: 6.711 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.274/1.274, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.421/2.421, allocations: 437 MB / 0.7099 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 59.91 kB / 0.8687 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.509/0.5103, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.006665/0.517, allocations: 7.295 MB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004819/0.5219, allocations: 5.13 MB / 1.029 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004413/0.5223, allocations: 39.75 kB / 1.029 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002928/0.5253, allocations: 1.575 MB / 1.03 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0007743/0.526, allocations: 0.5356 MB / 1.031 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004582/0.5265, allocations: 205.6 kB / 1.031 GB, free: 3.949 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001375/0.5279, allocations: 1.967 MB / 1.033 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005009/0.5284, allocations: 0.5414 MB / 1.034 GB, free: 1.414 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004958/0.5289, allocations: 0.6372 MB / 1.034 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006473/0.5296, allocations: 0.8122 MB / 1.035 GB, free: 15.96 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.5297, allocations: 72 kB / 1.035 GB, free: 15.89 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003692/0.5301, allocations: 183.8 kB / 1.035 GB, free: 15.71 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002397/0.5303, allocations: 310.5 kB / 1.036 GB, free: 15.4 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0005471/0.5309, allocations: 0.7804 MB / 1.036 GB, free: 14.62 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.5322, allocations: 2.048 MB / 1.038 GB, free: 12.56 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.5322, allocations: 3.938 kB / 1.038 GB, free: 12.56 MB / 0.795 GB Notification: Performance of FrontEnd: time 8.92e-07/0.5323, allocations: 0 / 1.038 GB, free: 12.56 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.5323, allocations: 0 / 1.038 GB, free: 12.56 MB / 0.795 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.002262/0.5345, allocations: 2.159 MB / 1.04 GB, free: 10.33 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.5346, allocations: 12.03 kB / 1.04 GB, free: 10.32 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.612e-05/0.5346, allocations: 70.72 kB / 1.041 GB, free: 10.24 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.5348, allocations: 206.4 kB / 1.041 GB, free: 10.04 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/0.5366, allocations: 1.571 MB / 1.042 GB, free: 8.395 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.5367, allocations: 25 kB / 1.042 GB, free: 8.371 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.708e-05/0.5367, allocations: 36 kB / 1.042 GB, free: 8.336 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005899/0.5373, allocations: 454.2 kB / 1.043 GB, free: 7.887 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.5373, allocations: 0 / 1.043 GB, free: 7.887 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.133e-05/0.5374, allocations: 12 kB / 1.043 GB, free: 7.875 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.403e-05/0.5374, allocations: 20.98 kB / 1.043 GB, free: 7.855 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005458/0.5379, allocations: 431.6 kB / 1.043 GB, free: 7.43 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002408/0.5404, allocations: 2.331 MB / 1.045 GB, free: 4.949 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008356/0.5412, allocations: 0.4962 MB / 1.046 GB, free: 4.441 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.5415, allocations: 205.8 kB / 1.046 GB, free: 4.238 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.5415, allocations: 288 / 1.046 GB, free: 4.238 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.5415, allocations: 38.84 kB / 1.046 GB, free: 4.191 MB / 0.795 GB Notification: Performance of pre-optimization done (n=34): time 1.042e-06/0.5415, allocations: 0 / 1.046 GB, free: 4.191 MB / 0.795 GB Notification: Performance of matching and sorting (n=34): time 0.0007827/0.5423, allocations: 0.6414 MB / 1.047 GB, free: 3.543 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.5423, allocations: 55.41 kB / 1.047 GB, free: 3.477 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002588/0.5449, allocations: 2.579 MB / 1.049 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.545, allocations: 33.7 kB / 1.049 GB, free: 0.8281 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005931/0.5456, allocations: 0.7683 MB / 1.05 GB, free: 56 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.832e-05/0.5456, allocations: 118.4 kB / 1.05 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.951e-05/0.5457, allocations: 69.7 kB / 1.05 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.302e-05/0.5458, allocations: 322.5 kB / 1.051 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.546, allocations: 131.9 kB / 1.051 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/0.5462, allocations: 174.5 kB / 1.051 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003835/0.5466, allocations: 325 kB / 1.051 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.5466, allocations: 4.031 kB / 1.051 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005892/0.5472, allocations: 0.5301 MB / 1.052 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.5473, allocations: 4 kB / 1.052 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.5473, allocations: 4 kB / 1.052 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.787e-06/0.5473, allocations: 0 / 1.052 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002977/0.5476, allocations: 75.89 kB / 1.052 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.5476, allocations: 4 kB / 1.052 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002999/0.5479, allocations: 35.59 kB / 1.052 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.5479, allocations: 4 kB / 1.052 GB, free: 14.25 MB / 0.8106 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.0006302/0.5486, allocations: 0.6969 MB / 1.053 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.5487, allocations: 193.5 kB / 1.053 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.549, allocations: 211.2 kB / 1.053 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.549, allocations: 4 kB / 1.053 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.549, allocations: 0 / 1.053 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.549, allocations: 0 / 1.053 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.5507, allocations: 1.593 MB / 1.055 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.5507, allocations: 4 kB / 1.055 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.5509, allocations: 71.89 kB / 1.055 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.551, allocations: 4 kB / 1.055 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.551, allocations: 8 kB / 1.055 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.551, allocations: 4 kB / 1.055 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.551, allocations: 3.938 kB / 1.055 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005879/0.5516, allocations: 0.6387 MB / 1.055 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004162/0.552, allocations: 370.6 kB / 1.056 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/0.5522, allocations: 8 kB / 1.056 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003555/0.5525, allocations: 19.89 kB / 1.056 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.5526, allocations: 23.91 kB / 1.056 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.5526, allocations: 11.98 kB / 1.056 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001937/0.5545, allocations: 1.847 MB / 1.057 GB, free: 8.402 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5545, allocations: 0 / 1.057 GB, free: 8.402 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004933/0.555, allocations: 231.8 kB / 1.058 GB, free: 8.176 MB / 0.8106 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.001015/0.5561, allocations: 1.255 MB / 1.059 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004262/0.5565, allocations: 331.6 kB / 1.059 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.5565, allocations: 0 / 1.059 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001979/0.5567, allocations: 167.8 kB / 1.059 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/0.5586, allocations: 0.5768 MB / 1.06 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02011/0.5787, allocations: 16.87 MB / 1.076 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.5798, allocations: 1.75 MB / 1.078 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0005948/0.5804, allocations: 319 kB / 1.078 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000585/0.581, allocations: 0.5891 MB / 1.079 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of SimCode: time 4.3e-07/0.581, allocations: 0 / 1.079 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.448/2.029, allocations: 38.41 MB / 1.116 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002655/2.029, allocations: 292.3 kB / 1.117 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.704/4.733, allocations: 0 / 1.117 GB, free: 11.18 MB / 0.8731 GB (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches