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.006584/0.006583, allocations: 96.73 kB / 15.73 MB, free: 6.484 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.001598/0.001598, allocations: 192 kB / 16.67 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.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.242/2.242, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 59.41 kB / 0.9505 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2471, allocations: 140.4 MB / 1.088 GB, free: 1.863 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.00809/0.2552, allocations: 7.326 MB / 1.095 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007033/0.2623, allocations: 5.196 MB / 1.1 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.2636, allocations: 51.75 kB / 1.1 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004354/0.2679, allocations: 1.691 MB / 1.102 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001879/0.2699, allocations: 0.6127 MB / 1.102 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009701/0.2709, allocations: 224.1 kB / 1.102 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002329/0.2732, allocations: 1.756 MB / 1.104 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007983/0.274, allocations: 0.5892 MB / 1.105 GB, free: 324 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000995/0.2751, allocations: 0.6999 MB / 1.105 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.2762, allocations: 0.8084 MB / 1.106 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001881/0.2764, allocations: 80 kB / 1.106 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004773/0.2769, allocations: 203.7 kB / 1.106 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002859/0.2772, allocations: 330.5 kB / 1.107 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006629/0.2779, allocations: 0.7921 MB / 1.107 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002207/0.2801, allocations: 2.432 MB / 1.11 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2801, allocations: 0 / 1.11 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2801, allocations: 0 / 1.11 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.517e-05/0.2801, allocations: 0 / 1.11 GB, free: 10.96 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.002831/0.283, allocations: 2.327 MB / 1.112 GB, free: 8.566 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.283, allocations: 8.031 kB / 1.112 GB, free: 8.559 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.568e-05/0.2831, allocations: 78.7 kB / 1.112 GB, free: 8.473 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002366/0.2834, allocations: 215.5 kB / 1.112 GB, free: 8.262 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002447/0.2858, allocations: 1.69 MB / 1.114 GB, free: 6.504 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.2859, allocations: 28.98 kB / 1.114 GB, free: 6.473 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.164e-05/0.2859, allocations: 36 kB / 1.114 GB, free: 6.438 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006397/0.2866, allocations: 446.3 kB / 1.115 GB, free: 5.996 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.2866, allocations: 4 kB / 1.115 GB, free: 5.992 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.661e-05/0.2866, allocations: 19.98 kB / 1.115 GB, free: 5.973 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-05/0.2867, allocations: 20.98 kB / 1.115 GB, free: 5.953 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005596/0.2872, allocations: 427.7 kB / 1.115 GB, free: 5.531 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003053/0.2903, allocations: 2.308 MB / 1.117 GB, free: 3.074 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008948/0.2912, allocations: 0.4966 MB / 1.118 GB, free: 2.566 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002519/0.2915, allocations: 205.3 kB / 1.118 GB, free: 2.363 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.2915, allocations: 8.219 kB / 1.118 GB, free: 2.355 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.2915, allocations: 42.84 kB / 1.118 GB, free: 2.305 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=34): time 2.074e-06/0.2915, allocations: 0 / 1.118 GB, free: 2.305 MB / 0.8731 GB Notification: Performance of matching and sorting (n=34): time 0.0009156/0.2925, allocations: 0.6433 MB / 1.119 GB, free: 1.656 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.2925, allocations: 59.39 kB / 1.119 GB, free: 1.586 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002854/0.2954, allocations: 2.555 MB / 1.121 GB, free: 15 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.757e-05/0.2954, allocations: 33.7 kB / 1.121 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006385/0.2961, allocations: 0.7607 MB / 1.122 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.925e-05/0.2962, allocations: 119 kB / 1.122 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.2963, allocations: 77.64 kB / 1.122 GB, free: 14 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.166e-05/0.2964, allocations: 322.5 kB / 1.122 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.2966, allocations: 135.9 kB / 1.123 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/0.2968, allocations: 173.6 kB / 1.123 GB, free: 13.37 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003977/0.2972, allocations: 318.3 kB / 1.123 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2972, allocations: 0 / 1.123 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007217/0.2979, allocations: 0.5468 MB / 1.124 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.298, allocations: 5.719 kB / 1.124 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.298, allocations: 4.031 kB / 1.124 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.298, allocations: 0 / 1.124 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/0.2983, allocations: 79.89 kB / 1.124 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.2984, allocations: 0 / 1.124 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003712/0.2987, allocations: 31.72 kB / 1.124 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.2988, allocations: 8 kB / 1.124 GB, free: 12.38 MB / 0.8887 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.0006949/0.2995, allocations: 0.6925 MB / 1.124 GB, free: 11.67 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.2996, allocations: 194.7 kB / 1.125 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002662/0.2999, allocations: 223.2 kB / 1.125 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.2999, allocations: 4 kB / 1.125 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.2999, allocations: 0 / 1.125 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2999, allocations: 0 / 1.125 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.3018, allocations: 1.574 MB / 1.126 GB, free: 9.613 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3018, allocations: 0 / 1.126 GB, free: 9.613 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002826/0.3021, allocations: 75.91 kB / 1.126 GB, free: 9.539 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3021, allocations: 4.094 kB / 1.126 GB, free: 9.535 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.3021, allocations: 11.98 kB / 1.126 GB, free: 9.523 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.3021, allocations: 4 kB / 1.126 GB, free: 9.52 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3022, allocations: 7.875 kB / 1.126 GB, free: 9.512 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006221/0.3028, allocations: 0.6478 MB / 1.127 GB, free: 8.836 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005501/0.3033, allocations: 379.6 kB / 1.127 GB, free: 8.445 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.3035, allocations: 8 kB / 1.127 GB, free: 8.438 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003695/0.3039, allocations: 11.98 kB / 1.127 GB, free: 8.426 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.3039, allocations: 19.92 kB / 1.127 GB, free: 8.406 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.3039, allocations: 8 kB / 1.127 GB, free: 8.398 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002045/0.306, allocations: 1.843 MB / 1.129 GB, free: 6.539 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.306, allocations: 0 / 1.129 GB, free: 6.539 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005693/0.3066, allocations: 219.8 kB / 1.129 GB, free: 6.324 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.001113/0.3077, allocations: 1.264 MB / 1.131 GB, free: 5.031 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004766/0.3082, allocations: 331.6 kB / 1.131 GB, free: 4.707 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3082, allocations: 3.938 kB / 1.131 GB, free: 4.703 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.3084, allocations: 167.8 kB / 1.131 GB, free: 4.539 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002036/0.3104, allocations: 0.6275 MB / 1.132 GB, free: 3.926 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01741/0.3279, allocations: 14.87 MB / 1.146 GB, free: 4.836 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/0.3291, allocations: 1.761 MB / 1.148 GB, free: 3.039 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007908/0.3299, allocations: 315.2 kB / 1.148 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006418/0.3305, allocations: 0.593 MB / 1.149 GB, free: 2.133 MB / 0.9044 GB Notification: Performance of SimCode: time 1.112e-06/0.3305, allocations: 4 kB / 1.149 GB, free: 2.129 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06274/0.3933, allocations: 39.78 MB / 1.188 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/10.6, allocations: 13.83 kB / 1.188 GB, free: 10.84 MB / 0.9512 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