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.001583/0.001583, allocations: 108 kB / 15.61 MB, free: 152 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.001818/0.001818, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.289/1.289, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.424/2.424, allocations: 437.1 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 59.91 kB / 0.8693 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4954/0.4966, allocations: 151.6 MB / 1.017 GB, free: 2.535 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.007393/0.5041, allocations: 7.344 MB / 1.025 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005554/0.5096, allocations: 5.192 MB / 1.03 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006784/0.5103, allocations: 43.81 kB / 1.03 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003463/0.5138, allocations: 1.695 MB / 1.031 GB, free: 4.195 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.5149, allocations: 0.5932 MB / 1.032 GB, free: 3.598 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005745/0.5154, allocations: 229.9 kB / 1.032 GB, free: 3.379 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00142/0.5169, allocations: 1.744 MB / 1.034 GB, free: 1.625 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005891/0.5175, allocations: 0.5774 MB / 1.034 GB, free: 1.027 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005574/0.518, allocations: 0.6724 MB / 1.035 GB, free: 360 kB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007691/0.5188, allocations: 0.8163 MB / 1.036 GB, free: 15.53 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.519, allocations: 84 kB / 1.036 GB, free: 15.45 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004119/0.5194, allocations: 199.7 kB / 1.036 GB, free: 15.25 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002676/0.5197, allocations: 330.5 kB / 1.036 GB, free: 14.93 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0006103/0.5203, allocations: 0.7921 MB / 1.037 GB, free: 14.13 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001637/0.5219, allocations: 2.192 MB / 1.039 GB, free: 11.93 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.5219, allocations: 0 / 1.039 GB, free: 11.93 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.112e-06/0.522, allocations: 4 kB / 1.039 GB, free: 11.93 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.267e-05/0.522, allocations: 0 / 1.039 GB, free: 11.93 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.002591/0.5246, allocations: 2.198 MB / 1.042 GB, free: 9.664 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.5246, allocations: 12.03 kB / 1.042 GB, free: 9.652 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.307e-05/0.5247, allocations: 78.72 kB / 1.042 GB, free: 9.566 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002002/0.5249, allocations: 198.4 kB / 1.042 GB, free: 9.371 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001937/0.5268, allocations: 1.571 MB / 1.043 GB, free: 7.73 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.5269, allocations: 29 kB / 1.043 GB, free: 7.699 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.033e-05/0.5269, allocations: 36 kB / 1.043 GB, free: 7.664 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006003/0.5275, allocations: 450.2 kB / 1.044 GB, free: 7.219 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.5276, allocations: 0 / 1.044 GB, free: 7.219 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.5276, allocations: 16 kB / 1.044 GB, free: 7.203 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.682e-05/0.5276, allocations: 28.98 kB / 1.044 GB, free: 7.176 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005694/0.5282, allocations: 431.6 kB / 1.044 GB, free: 6.754 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002592/0.5308, allocations: 2.331 MB / 1.047 GB, free: 4.273 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008899/0.5317, allocations: 0.4962 MB / 1.047 GB, free: 3.766 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002542/0.532, allocations: 209.2 kB / 1.047 GB, free: 3.559 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.532, allocations: 4.281 kB / 1.047 GB, free: 3.555 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.532, allocations: 34.84 kB / 1.047 GB, free: 3.512 MB / 0.795 GB Notification: Performance of pre-optimization done (n=34): time 1.613e-06/0.532, allocations: 4 kB / 1.047 GB, free: 3.508 MB / 0.795 GB Notification: Performance of matching and sorting (n=34): time 0.0008317/0.5329, allocations: 0.6419 MB / 1.048 GB, free: 2.859 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.5329, allocations: 59.41 kB / 1.048 GB, free: 2.789 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002745/0.5357, allocations: 2.575 MB / 1.05 GB, free: 188 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.5357, allocations: 29.7 kB / 1.05 GB, free: 152 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006544/0.5364, allocations: 0.7722 MB / 1.051 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.229e-05/0.5364, allocations: 110.4 kB / 1.051 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.798e-05/0.5365, allocations: 69.59 kB / 1.051 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.769e-05/0.5366, allocations: 326.5 kB / 1.052 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.5368, allocations: 139.8 kB / 1.052 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.5371, allocations: 182.7 kB / 1.052 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004007/0.5375, allocations: 321 kB / 1.052 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.5375, allocations: 4 kB / 1.052 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000634/0.5381, allocations: 0.5264 MB / 1.053 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.5381, allocations: 4 kB / 1.053 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.5381, allocations: 0 / 1.053 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.5382, allocations: 4 kB / 1.053 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003138/0.5385, allocations: 75.89 kB / 1.053 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.5385, allocations: 0 / 1.053 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003236/0.5388, allocations: 35.62 kB / 1.053 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.5389, allocations: 8 kB / 1.053 GB, free: 13.56 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.0006427/0.5395, allocations: 0.6886 MB / 1.054 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/0.5397, allocations: 185.7 kB / 1.054 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.5399, allocations: 219.2 kB / 1.054 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.54, allocations: 4 kB / 1.054 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.54, allocations: 0 / 1.054 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.54, allocations: 0 / 1.054 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.5417, allocations: 1.585 MB / 1.056 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5417, allocations: 0 / 1.056 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/0.542, allocations: 75.89 kB / 1.056 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.542, allocations: 0 / 1.056 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.5421, allocations: 8 kB / 1.056 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.5421, allocations: 0 / 1.056 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.5421, allocations: 11.88 kB / 1.056 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006723/0.5428, allocations: 0.6426 MB / 1.056 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004715/0.5432, allocations: 370.6 kB / 1.057 GB, free: 9.652 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/0.5434, allocations: 8 kB / 1.057 GB, free: 9.645 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003734/0.5438, allocations: 4 kB / 1.057 GB, free: 9.641 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.5438, allocations: 39.89 kB / 1.057 GB, free: 9.602 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.5439, allocations: 12 kB / 1.057 GB, free: 9.59 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002163/0.546, allocations: 1.843 MB / 1.059 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.4e-07/0.546, allocations: 0 / 1.059 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000561/0.5466, allocations: 231.8 kB / 1.059 GB, free: 7.504 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.001094/0.5477, allocations: 1.257 MB / 1.06 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000582/0.5483, allocations: 408.2 kB / 1.06 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5483, allocations: 0 / 1.06 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002073/0.5485, allocations: 175.8 kB / 1.061 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/0.5506, allocations: 0.6295 MB / 1.061 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01778/0.5683, allocations: 16.56 MB / 1.077 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/0.5695, allocations: 1.758 MB / 1.079 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000704/0.5702, allocations: 311 kB / 1.079 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006205/0.5708, allocations: 0.593 MB / 1.08 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of SimCode: time 1.603e-06/0.5708, allocations: 0 / 1.08 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05776/0.6286, allocations: 39.32 MB / 1.118 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.478/8.107, allocations: 10.8 kB / 1.118 GB, free: 10.16 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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