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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001261/0.001261, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.231/1.231, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.248/2.248, allocations: 437 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 67.91 kB / 0.8694 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4749/0.4761, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.007374/0.4835, allocations: 7.344 MB / 1.025 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006023/0.4895, allocations: 5.184 MB / 1.03 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009158/0.4905, allocations: 43.75 kB / 1.03 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003563/0.4941, allocations: 1.695 MB / 1.031 GB, free: 4.125 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001193/0.4953, allocations: 0.5971 MB / 1.032 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005463/0.4958, allocations: 233.9 kB / 1.032 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00136/0.4972, allocations: 1.739 MB / 1.034 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005586/0.4978, allocations: 0.5774 MB / 1.034 GB, free: 0.9531 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005076/0.4983, allocations: 0.6763 MB / 1.035 GB, free: 280 kB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007105/0.499, allocations: 0.8084 MB / 1.036 GB, free: 15.46 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.4991, allocations: 84 kB / 1.036 GB, free: 15.38 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000382/0.4995, allocations: 207.8 kB / 1.036 GB, free: 15.18 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002488/0.4998, allocations: 326.6 kB / 1.036 GB, free: 14.86 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0005673/0.5004, allocations: 0.796 MB / 1.037 GB, free: 14.05 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.5018, allocations: 2.192 MB / 1.039 GB, free: 11.86 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.5019, allocations: 0 / 1.039 GB, free: 11.86 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5019, allocations: 0 / 1.039 GB, free: 11.86 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.659e-05/0.5019, allocations: 0 / 1.039 GB, free: 11.86 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.002346/0.5042, allocations: 2.199 MB / 1.042 GB, free: 9.59 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.5043, allocations: 12.03 kB / 1.042 GB, free: 9.578 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.948e-05/0.5044, allocations: 74.7 kB / 1.042 GB, free: 9.496 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001931/0.5046, allocations: 202.3 kB / 1.042 GB, free: 9.297 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001827/0.5064, allocations: 1.583 MB / 1.043 GB, free: 7.645 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.5064, allocations: 24.98 kB / 1.043 GB, free: 7.617 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.237e-05/0.5065, allocations: 36 kB / 1.043 GB, free: 7.582 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005669/0.507, allocations: 446.3 kB / 1.044 GB, free: 7.141 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.5071, allocations: 0 / 1.044 GB, free: 7.141 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/0.5071, allocations: 15.98 kB / 1.044 GB, free: 7.125 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.503e-05/0.5071, allocations: 24.98 kB / 1.044 GB, free: 7.102 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000538/0.5077, allocations: 427.6 kB / 1.044 GB, free: 6.684 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002389/0.5101, allocations: 2.335 MB / 1.047 GB, free: 4.199 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008118/0.5109, allocations: 0.4967 MB / 1.047 GB, free: 3.691 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002401/0.5112, allocations: 201.3 kB / 1.047 GB, free: 3.492 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.5112, allocations: 16.2 kB / 1.047 GB, free: 3.477 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.5112, allocations: 38.84 kB / 1.047 GB, free: 3.43 MB / 0.795 GB Notification: Performance of pre-optimization done (n=34): time 1.302e-06/0.5112, allocations: 0 / 1.047 GB, free: 3.43 MB / 0.795 GB Notification: Performance of matching and sorting (n=34): time 0.000773/0.512, allocations: 0.6458 MB / 1.048 GB, free: 2.777 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.512, allocations: 59.41 kB / 1.048 GB, free: 2.707 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002545/0.5146, allocations: 2.571 MB / 1.05 GB, free: 108 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.5146, allocations: 37.7 kB / 1.051 GB, free: 64 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006078/0.5152, allocations: 0.7683 MB / 1.051 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.619e-05/0.5153, allocations: 110.4 kB / 1.051 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.968e-05/0.5154, allocations: 69.59 kB / 1.051 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.996e-05/0.5155, allocations: 322.5 kB / 1.052 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.5157, allocations: 135.9 kB / 1.052 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.5159, allocations: 174.8 kB / 1.052 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003802/0.5163, allocations: 329 kB / 1.052 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5163, allocations: 0 / 1.052 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005959/0.5169, allocations: 0.5302 MB / 1.053 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.5169, allocations: 4 kB / 1.053 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.5169, allocations: 0 / 1.053 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.5169, allocations: 4 kB / 1.053 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.5172, allocations: 75.89 kB / 1.053 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.5172, allocations: 0 / 1.053 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002881/0.5175, allocations: 35.59 kB / 1.053 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.5175, allocations: 8 kB / 1.053 GB, free: 13.48 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.0005988/0.5181, allocations: 0.6936 MB / 1.054 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.5183, allocations: 181.7 kB / 1.054 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.5185, allocations: 219.2 kB / 1.054 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.5186, allocations: 4 kB / 1.054 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.5186, allocations: 0 / 1.054 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5186, allocations: 0 / 1.054 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.5202, allocations: 1.581 MB / 1.056 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.5202, allocations: 4.094 kB / 1.056 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000264/0.5205, allocations: 79.83 kB / 1.056 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.5205, allocations: 0 / 1.056 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.5205, allocations: 12 kB / 1.056 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.5205, allocations: 11.97 kB / 1.056 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.5205, allocations: 7.875 kB / 1.056 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005954/0.5211, allocations: 0.6347 MB / 1.056 GB, free: 9.953 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004171/0.5215, allocations: 370.6 kB / 1.057 GB, free: 9.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.5217, allocations: 12 kB / 1.057 GB, free: 9.559 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003469/0.522, allocations: 11.98 kB / 1.057 GB, free: 9.547 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.5221, allocations: 19.91 kB / 1.057 GB, free: 9.527 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.5221, allocations: 16 kB / 1.057 GB, free: 9.512 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001917/0.524, allocations: 1.851 MB / 1.059 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.524, allocations: 4 kB / 1.059 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004876/0.5245, allocations: 227.8 kB / 1.059 GB, free: 7.418 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.001011/0.5255, allocations: 1.245 MB / 1.06 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005308/0.5261, allocations: 408.2 kB / 1.06 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5261, allocations: 0 / 1.06 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.5263, allocations: 171.8 kB / 1.061 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/0.5281, allocations: 0.6189 MB / 1.061 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01653/0.5447, allocations: 16.57 MB / 1.077 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001135/0.5458, allocations: 1.75 MB / 1.079 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000603/0.5464, allocations: 315.1 kB / 1.079 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006073/0.547, allocations: 0.5948 MB / 1.08 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.5471, allocations: 0 / 1.08 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.138/2.685, allocations: 39.33 MB / 1.118 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.954/11.64, allocations: 10.73 kB / 1.118 GB, free: 10.09 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