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.006525/0.006525, allocations: 105.9 kB / 15.73 MB, free: 6 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.001525/0.001525, allocations: 189 kB / 16.67 MB, free: 5.926 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.234/1.234, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.023/2.023, allocations: 390.3 MB / 0.6648 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.91 kB / 0.9505 GB, free: 8 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6814/0.6827, allocations: 140.4 MB / 1.088 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.00698/0.6897, allocations: 7.34 MB / 1.095 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008662/0.6984, allocations: 5.2 MB / 1.1 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001845/0.7003, allocations: 45.84 kB / 1.1 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005684/0.706, allocations: 1.683 MB / 1.101 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002653/0.7087, allocations: 0.6022 MB / 1.102 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.7101, allocations: 228.2 kB / 1.102 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003535/0.7136, allocations: 1.762 MB / 1.104 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.7148, allocations: 0.5839 MB / 1.105 GB, free: 9.781 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001664/0.7165, allocations: 0.6739 MB / 1.105 GB, free: 9.477 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001626/0.7181, allocations: 0.8046 MB / 1.106 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004442/0.7186, allocations: 84.72 kB / 1.106 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.7197, allocations: 205.8 kB / 1.106 GB, free: 9.043 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005993/0.7203, allocations: 331.4 kB / 1.107 GB, free: 8.871 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001594/0.7219, allocations: 0.7862 MB / 1.107 GB, free: 8.359 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003629/0.7255, allocations: 2.422 MB / 1.11 GB, free: 7.453 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.7255, allocations: 0 / 1.11 GB, free: 7.453 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7255, allocations: 1.469 kB / 1.11 GB, free: 7.453 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.983e-05/0.7256, allocations: 4 kB / 1.11 GB, free: 7.449 MB / 0.8731 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.005327/0.731, allocations: 2.255 MB / 1.112 GB, free: 5.941 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.731, allocations: 10 kB / 1.112 GB, free: 5.941 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001476/0.7312, allocations: 78.88 kB / 1.112 GB, free: 5.879 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004679/0.7316, allocations: 199.5 kB / 1.112 GB, free: 5.773 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003968/0.7356, allocations: 1.673 MB / 1.114 GB, free: 4.895 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.7357, allocations: 23.66 kB / 1.114 GB, free: 4.887 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.293e-05/0.7357, allocations: 40.98 kB / 1.114 GB, free: 4.871 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008179/0.7366, allocations: 449.4 kB / 1.114 GB, free: 4.707 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.7366, allocations: 0.5625 kB / 1.114 GB, free: 4.707 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.687e-05/0.7366, allocations: 11 kB / 1.114 GB, free: 4.699 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.078e-05/0.7367, allocations: 25.55 kB / 1.114 GB, free: 4.691 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007008/0.7374, allocations: 428.7 kB / 1.115 GB, free: 4.578 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004223/0.7416, allocations: 2.296 MB / 1.117 GB, free: 3.27 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.7427, allocations: 0.5015 MB / 1.118 GB, free: 3.117 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002874/0.743, allocations: 201.6 kB / 1.118 GB, free: 3.055 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.743, allocations: 12.39 kB / 1.118 GB, free: 3.047 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.743, allocations: 37 kB / 1.118 GB, free: 3.004 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=34): time 2.175e-06/0.743, allocations: 1.406 kB / 1.118 GB, free: 3.004 MB / 0.8731 GB Notification: Performance of matching and sorting (n=34): time 0.001165/0.7442, allocations: 0.6445 MB / 1.118 GB, free: 2.738 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.7442, allocations: 54.78 kB / 1.118 GB, free: 2.676 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004401/0.7486, allocations: 2.554 MB / 1.121 GB, free: 1.848 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.7487, allocations: 32.42 kB / 1.121 GB, free: 1.812 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007683/0.7495, allocations: 0.7603 MB / 1.122 GB, free: 1.215 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.562e-05/0.7496, allocations: 118.3 kB / 1.122 GB, free: 1.121 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.7497, allocations: 73.23 kB / 1.122 GB, free: 1.078 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.7498, allocations: 322.6 kB / 1.122 GB, free: 0.7656 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.75, allocations: 137.8 kB / 1.122 GB, free: 0.7266 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.7503, allocations: 174.1 kB / 1.123 GB, free: 0.668 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004279/0.7507, allocations: 331.3 kB / 1.123 GB, free: 0.5508 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.7507, allocations: 1.188 kB / 1.123 GB, free: 0.5508 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008742/0.7516, allocations: 0.5232 MB / 1.123 GB, free: 332 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.7516, allocations: 13.09 kB / 1.123 GB, free: 324 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.7517, allocations: 0 / 1.123 GB, free: 324 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.7517, allocations: 2.844 kB / 1.123 GB, free: 324 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/0.752, allocations: 79.77 kB / 1.123 GB, free: 316 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.752, allocations: 2.438 kB / 1.123 GB, free: 316 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005897/0.7526, allocations: 27.88 kB / 1.123 GB, free: 296 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.7526, allocations: 10.33 kB / 1.123 GB, free: 292 kB / 0.8731 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.0009226/0.7536, allocations: 0.6865 MB / 1.124 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003121/0.7539, allocations: 187.2 kB / 1.124 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003669/0.7543, allocations: 222.4 kB / 1.125 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.7543, allocations: 4.281 kB / 1.125 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.7543, allocations: 0 / 1.125 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.7543, allocations: 2.312 kB / 1.125 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002532/0.7568, allocations: 1.563 MB / 1.126 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.7568, allocations: 6.047 kB / 1.126 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002917/0.7571, allocations: 79.08 kB / 1.126 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.7572, allocations: 1.312 kB / 1.126 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.7572, allocations: 6.891 kB / 1.126 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.7572, allocations: 7.312 kB / 1.126 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.7572, allocations: 5.062 kB / 1.126 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007997/0.758, allocations: 0.6367 MB / 1.127 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000737/0.7587, allocations: 371.9 kB / 1.127 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002708/0.759, allocations: 8.062 kB / 1.127 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004764/0.7595, allocations: 9.016 kB / 1.127 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.7596, allocations: 27.81 kB / 1.127 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.7596, allocations: 10.81 kB / 1.127 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.003012/0.7626, allocations: 1.834 MB / 1.129 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7626, allocations: 0 / 1.129 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008308/0.7635, allocations: 231.4 kB / 1.129 GB, free: 13.74 MB / 0.8887 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.001387/0.7648, allocations: 1.257 MB / 1.13 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005475/0.7654, allocations: 329.2 kB / 1.131 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7654, allocations: 0 / 1.131 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002302/0.7657, allocations: 171 kB / 1.131 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002411/0.7681, allocations: 0.6245 MB / 1.132 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0237/0.7918, allocations: 14.81 MB / 1.146 GB, free: 6.926 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001868/0.7937, allocations: 1.754 MB / 1.148 GB, free: 6.016 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009775/0.7947, allocations: 314.2 kB / 1.148 GB, free: 5.977 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007707/0.7955, allocations: 0.5972 MB / 1.149 GB, free: 5.496 MB / 0.8887 GB Notification: Performance of SimCode: time 9.21e-07/0.7955, allocations: 0 / 1.149 GB, free: 5.496 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06855/0.864, allocations: 39.79 MB / 1.187 GB, free: 7.699 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.875/10.74, allocations: 9.484 kB / 1.187 GB, free: 7.695 MB / 0.92 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