Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_9_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.001282/0.001282, 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.001277/0.001277, allocations: 193.7 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.268/1.268, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.273/2.273, allocations: 390.3 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.91 kB / 0.8127 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5493/0.5506, allocations: 140.4 MB / 0.9497 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.006479/0.5571, allocations: 7.333 MB / 0.9569 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004901/0.562, allocations: 5.183 MB / 0.9619 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000527/0.5626, allocations: 38.62 kB / 0.962 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003341/0.5659, allocations: 1.694 MB / 0.9636 GB, free: 14 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0009423/0.5669, allocations: 0.6002 MB / 0.9642 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005566/0.5674, allocations: 228.1 kB / 0.9644 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001456/0.5689, allocations: 1.739 MB / 0.9661 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006439/0.5696, allocations: 0.5795 MB / 0.9667 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006138/0.5702, allocations: 0.6762 MB / 0.9674 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000828/0.571, allocations: 0.8132 MB / 0.9682 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001604/0.5712, allocations: 86.25 kB / 0.9682 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004491/0.5717, allocations: 206.2 kB / 0.9684 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002929/0.572, allocations: 333.1 kB / 0.9688 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000652/0.5726, allocations: 0.7855 MB / 0.9695 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001689/0.5743, allocations: 2.187 MB / 0.9717 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.5743, allocations: 0 / 0.9717 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.006e-06/0.5743, allocations: 5.219 kB / 0.9717 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.12e-05/0.5744, allocations: 3.938 kB / 0.9717 GB, free: 8.887 MB / 0.7325 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.002602/0.577, allocations: 2.197 MB / 0.9738 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.577, allocations: 13.47 kB / 0.9738 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.775e-05/0.5771, allocations: 82.03 kB / 0.9739 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002284/0.5773, allocations: 203.4 kB / 0.9741 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002035/0.5794, allocations: 1.572 MB / 0.9756 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.5794, allocations: 27.47 kB / 0.9757 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.91e-05/0.5795, allocations: 32.25 kB / 0.9757 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000637/0.5801, allocations: 453.3 kB / 0.9761 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.5801, allocations: 0 / 0.9761 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.66e-05/0.5802, allocations: 14.94 kB / 0.9761 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.12e-05/0.5802, allocations: 29.36 kB / 0.9762 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005886/0.5808, allocations: 423.8 kB / 0.9766 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002659/0.5835, allocations: 2.337 MB / 0.9789 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000891/0.5844, allocations: 0.4962 MB / 0.9793 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002513/0.5846, allocations: 201.3 kB / 0.9795 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.5847, allocations: 4.281 kB / 0.9795 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.5847, allocations: 34.84 kB / 0.9796 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=34): time 1.393e-06/0.5847, allocations: 0 / 0.9796 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34): time 0.000836/0.5855, allocations: 0.6422 MB / 0.9802 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.5856, allocations: 55.34 kB / 0.9802 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002771/0.5883, allocations: 2.587 MB / 0.9828 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.5884, allocations: 29.7 kB / 0.9828 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006572/0.589, allocations: 0.7606 MB / 0.9835 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.792e-05/0.5891, allocations: 122.3 kB / 0.9837 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.617e-05/0.5892, allocations: 65.61 kB / 0.9837 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 8.86e-05/0.5893, allocations: 322.5 kB / 0.984 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.5895, allocations: 143.8 kB / 0.9842 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/0.5898, allocations: 181.4 kB / 0.9843 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003999/0.5902, allocations: 318.4 kB / 0.9846 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.5902, allocations: 0 / 0.9846 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006336/0.5908, allocations: 0.5339 MB / 0.9852 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.5908, allocations: 4 kB / 0.9852 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.5908, allocations: 0 / 0.9852 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.5909, allocations: 0 / 0.9852 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/0.5912, allocations: 87.83 kB / 0.9853 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.5912, allocations: 0 / 0.9853 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000333/0.5915, allocations: 35.7 kB / 0.9853 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.5916, allocations: 8 kB / 0.9853 GB, free: 12.92 MB / 0.7481 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.0006478/0.5922, allocations: 0.6886 MB / 0.986 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/0.5924, allocations: 185.6 kB / 0.9861 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/0.5927, allocations: 219.2 kB / 0.9864 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.5927, allocations: 0 / 0.9864 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.5927, allocations: 4 kB / 0.9864 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.5927, allocations: 3.984 kB / 0.9864 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001777/0.5945, allocations: 1.578 MB / 0.9879 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5945, allocations: 4 kB / 0.9879 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002946/0.5948, allocations: 79.89 kB / 0.988 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.5948, allocations: 0 / 0.988 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.5948, allocations: 8 kB / 0.988 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.5949, allocations: 0 / 0.988 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.5949, allocations: 7.938 kB / 0.988 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006286/0.5955, allocations: 0.639 MB / 0.9886 GB, free: 9.398 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004574/0.596, allocations: 378.5 kB / 0.989 GB, free: 9.008 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/0.5961, allocations: 7.984 kB / 0.989 GB, free: 9 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003825/0.5965, allocations: 8 kB / 0.989 GB, free: 8.992 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.5966, allocations: 35.91 kB / 0.989 GB, free: 8.957 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.5966, allocations: 4 kB / 0.989 GB, free: 8.953 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002054/0.5987, allocations: 1.847 MB / 0.9908 GB, free: 7.09 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5987, allocations: 0 / 0.9908 GB, free: 7.09 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005664/0.5992, allocations: 231.7 kB / 0.9911 GB, free: 6.863 MB / 0.7481 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.001111/0.6003, allocations: 1.253 MB / 0.9923 GB, free: 5.578 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005655/0.6009, allocations: 399.6 kB / 0.9927 GB, free: 5.188 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6009, allocations: 0 / 0.9927 GB, free: 5.188 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.6011, allocations: 175.8 kB / 0.9928 GB, free: 5.016 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/0.6032, allocations: 0.6321 MB / 0.9934 GB, free: 4.398 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01724/0.6205, allocations: 16.56 MB / 1.01 GB, free: 3.004 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/0.6217, allocations: 1.754 MB / 1.011 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0006455/0.6223, allocations: 311.1 kB / 1.012 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000642/0.623, allocations: 0.5891 MB / 1.012 GB, free: 324 kB / 0.7637 GB Notification: Performance of SimCode: time 5.31e-07/0.623, allocations: 0 / 1.012 GB, free: 324 kB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05786/0.6808, allocations: 39.31 MB / 1.051 GB, free: 9.539 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.758/8.439, allocations: 23.27 kB / 1.051 GB, free: 9.523 MB / 0.8106 GB (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches