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.001254/0.001254, 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.001285/0.001285, allocations: 191 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.262/1.262, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.559/2.559, allocations: 469.4 MB / 0.742 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 65.19 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2363, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.007417/0.2437, allocations: 7.355 MB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005729/0.2495, allocations: 5.188 MB / 1.076 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005473/0.25, allocations: 39.81 kB / 1.076 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003323/0.2534, allocations: 1.687 MB / 1.078 GB, free: 208 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.2544, allocations: 0.5973 MB / 1.078 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005683/0.255, allocations: 224.3 kB / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001417/0.2564, allocations: 1.742 MB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005978/0.257, allocations: 0.5814 MB / 1.081 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005445/0.2576, allocations: 0.6685 MB / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000781/0.2584, allocations: 0.8162 MB / 1.082 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001401/0.2585, allocations: 80 kB / 1.082 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004224/0.2589, allocations: 207.7 kB / 1.082 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002719/0.2592, allocations: 326.6 kB / 1.083 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0006022/0.2598, allocations: 0.7999 MB / 1.083 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001665/0.2615, allocations: 2.195 MB / 1.086 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2615, allocations: 0 / 1.086 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2615, allocations: 0 / 1.086 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.615e-05/0.2615, allocations: 0 / 1.086 GB, free: 7.93 MB / 0.8419 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.002825/0.2644, allocations: 2.206 MB / 1.088 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.2644, allocations: 8.031 kB / 1.088 GB, free: 5.648 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.908e-05/0.2645, allocations: 74.72 kB / 1.088 GB, free: 5.566 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002176/0.2647, allocations: 198.4 kB / 1.088 GB, free: 5.371 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00202/0.2668, allocations: 1.575 MB / 1.09 GB, free: 3.727 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.2668, allocations: 29 kB / 1.09 GB, free: 3.695 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.795e-05/0.2668, allocations: 39.98 kB / 1.09 GB, free: 3.656 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006133/0.2675, allocations: 442.3 kB / 1.09 GB, free: 3.223 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2675, allocations: 0 / 1.09 GB, free: 3.223 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.582e-05/0.2675, allocations: 12 kB / 1.09 GB, free: 3.211 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.924e-05/0.2676, allocations: 28.92 kB / 1.09 GB, free: 3.184 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005775/0.2681, allocations: 431.6 kB / 1.091 GB, free: 2.762 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002644/0.2708, allocations: 2.335 MB / 1.093 GB, free: 284 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008976/0.2717, allocations: 0.5005 MB / 1.093 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002547/0.272, allocations: 202.7 kB / 1.093 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.272, allocations: 4.281 kB / 1.093 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.272, allocations: 38.84 kB / 1.094 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=34): time 1.513e-06/0.272, allocations: 0 / 1.094 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34): time 0.0008414/0.2729, allocations: 0.6453 MB / 1.094 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.2729, allocations: 55.41 kB / 1.094 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002811/0.2757, allocations: 2.575 MB / 1.097 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.2758, allocations: 33.7 kB / 1.097 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006684/0.2765, allocations: 0.7682 MB / 1.098 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.814e-05/0.2765, allocations: 114.3 kB / 1.098 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.2766, allocations: 77.59 kB / 1.098 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.641e-05/0.2767, allocations: 322.5 kB / 1.098 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.2769, allocations: 131.9 kB / 1.098 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.2772, allocations: 182.6 kB / 1.098 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004031/0.2776, allocations: 325.1 kB / 1.099 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2776, allocations: 0 / 1.099 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006507/0.2783, allocations: 0.5262 MB / 1.099 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.2783, allocations: 13.44 kB / 1.099 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2783, allocations: 0 / 1.099 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.2783, allocations: 0 / 1.099 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/0.2786, allocations: 79.89 kB / 1.099 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.2786, allocations: 4 kB / 1.099 GB, free: 9.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/0.279, allocations: 27.69 kB / 1.099 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.279, allocations: 4 kB / 1.099 GB, free: 9.57 MB / 0.8575 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.0006543/0.2797, allocations: 0.6903 MB / 1.1 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/0.2798, allocations: 189.6 kB / 1.1 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002651/0.2801, allocations: 219.2 kB / 1.1 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2801, allocations: 4 kB / 1.1 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.2801, allocations: 0 / 1.1 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2801, allocations: 0 / 1.1 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/0.282, allocations: 1.578 MB / 1.102 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.282, allocations: 0 / 1.102 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002892/0.2823, allocations: 87.92 kB / 1.102 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.2823, allocations: 4 kB / 1.102 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.2823, allocations: 4 kB / 1.102 GB, free: 6.723 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.2823, allocations: 4 kB / 1.102 GB, free: 6.719 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.2823, allocations: 7.922 kB / 1.102 GB, free: 6.711 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006437/0.283, allocations: 0.6358 MB / 1.103 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004664/0.2834, allocations: 378.5 kB / 1.103 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/0.2836, allocations: 8 kB / 1.103 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003814/0.284, allocations: 8 kB / 1.103 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.284, allocations: 27.78 kB / 1.103 GB, free: 5.613 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.2841, allocations: 12 kB / 1.103 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002147/0.2862, allocations: 1.851 MB / 1.105 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2862, allocations: 0 / 1.105 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005696/0.2868, allocations: 227.8 kB / 1.105 GB, free: 3.512 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.00115/0.288, allocations: 1.261 MB / 1.106 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005854/0.2886, allocations: 399.4 kB / 1.107 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2886, allocations: 4 kB / 1.107 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.2888, allocations: 171.7 kB / 1.107 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/0.2909, allocations: 0.615 MB / 1.107 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02045/0.3113, allocations: 16.55 MB / 1.124 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/0.3125, allocations: 1.761 MB / 1.125 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0007521/0.3133, allocations: 315 kB / 1.126 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006592/0.3139, allocations: 0.593 MB / 1.126 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of SimCode: time 7.12e-07/0.3139, allocations: 0 / 1.126 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06087/0.3748, allocations: 39.32 MB / 1.165 GB, free: 6.156 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.691/8.065, allocations: 448 / 1.165 GB, free: 6.156 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 & python3 -m fmpy simulate --output-file Buildings_latest_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_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.csv","/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