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.001052/0.001052, allocations: 108.6 kB / 15.73 MB, free: 72 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.001056/0.001056, allocations: 183.3 kB / 16.66 MB, free: 6.602 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.4 MB, free: 4.355 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.388/2.388, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 59.91 kB / 1.018 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2509, allocations: 151.6 MB / 1.166 GB, free: 7.234 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.007688/0.2586, allocations: 7.331 MB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006548/0.2652, allocations: 5.196 MB / 1.178 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009523/0.2662, allocations: 55.75 kB / 1.179 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004055/0.2703, allocations: 1.695 MB / 1.18 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001517/0.2719, allocations: 0.6011 MB / 1.181 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006802/0.2725, allocations: 239.5 kB / 1.181 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00189/0.2744, allocations: 1.757 MB / 1.183 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006446/0.2751, allocations: 0.5736 MB / 1.183 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007722/0.2759, allocations: 0.7075 MB / 1.184 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008725/0.2768, allocations: 0.8006 MB / 1.185 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001515/0.2769, allocations: 80 kB / 1.185 GB, free: 4.09 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004697/0.2774, allocations: 203.8 kB / 1.185 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002881/0.2777, allocations: 326.5 kB / 1.185 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006718/0.2784, allocations: 0.7921 MB / 1.186 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002195/0.2806, allocations: 2.447 MB / 1.189 GB, free: 324 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2806, allocations: 4 kB / 1.189 GB, free: 320 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2806, allocations: 0 / 1.189 GB, free: 320 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.321e-05/0.2806, allocations: 0 / 1.189 GB, free: 320 kB / 0.9356 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.002996/0.2836, allocations: 2.319 MB / 1.191 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.2837, allocations: 12.03 kB / 1.191 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.631e-05/0.2838, allocations: 78.69 kB / 1.191 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002305/0.284, allocations: 215.5 kB / 1.191 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002456/0.2865, allocations: 1.682 MB / 1.193 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.2865, allocations: 32.98 kB / 1.193 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.626e-05/0.2866, allocations: 36 kB / 1.193 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006301/0.2872, allocations: 454.2 kB / 1.193 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.2872, allocations: 0 / 1.193 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.554e-05/0.2873, allocations: 19.98 kB / 1.193 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.375e-05/0.2873, allocations: 20.98 kB / 1.193 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005625/0.2879, allocations: 427.6 kB / 1.194 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002796/0.2907, allocations: 2.304 MB / 1.196 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008833/0.2916, allocations: 0.4889 MB / 1.196 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/0.2919, allocations: 205.3 kB / 1.197 GB, free: 7.73 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.2919, allocations: 8.219 kB / 1.197 GB, free: 7.723 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.2919, allocations: 34.84 kB / 1.197 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=34): time 4.118e-06/0.2919, allocations: 0 / 1.197 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of matching and sorting (n=34): time 0.0008714/0.2928, allocations: 0.658 MB / 1.197 GB, free: 7.016 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.2928, allocations: 51.41 kB / 1.197 GB, free: 6.953 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002871/0.2957, allocations: 2.556 MB / 1.2 GB, free: 4.367 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.2958, allocations: 29.7 kB / 1.2 GB, free: 4.332 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006721/0.2964, allocations: 0.7685 MB / 1.201 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.812e-05/0.2965, allocations: 119 kB / 1.201 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.2966, allocations: 69.64 kB / 1.201 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.2968, allocations: 326.5 kB / 1.201 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.297, allocations: 135.8 kB / 1.201 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.2972, allocations: 178.7 kB / 1.201 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004084/0.2976, allocations: 321.1 kB / 1.202 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2976, allocations: 4.031 kB / 1.202 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006538/0.2983, allocations: 0.5312 MB / 1.202 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.2983, allocations: 11.98 kB / 1.202 GB, free: 1.859 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.2983, allocations: 0 / 1.202 GB, free: 1.859 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.2983, allocations: 0 / 1.202 GB, free: 1.859 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/0.2986, allocations: 83.89 kB / 1.202 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.2987, allocations: 7.984 kB / 1.202 GB, free: 1.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003514/0.299, allocations: 31.73 kB / 1.202 GB, free: 1.738 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.299, allocations: 8 kB / 1.202 GB, free: 1.73 MB / 0.9512 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.0006878/0.2997, allocations: 0.6964 MB / 1.203 GB, free: 1.023 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.2999, allocations: 198.7 kB / 1.203 GB, free: 0.8281 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002767/0.3002, allocations: 215.2 kB / 1.203 GB, free: 0.6133 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3002, allocations: 4 kB / 1.203 GB, free: 0.6094 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3002, allocations: 0 / 1.203 GB, free: 0.6094 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.3002, allocations: 7.984 kB / 1.203 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001938/0.3022, allocations: 1.566 MB / 1.205 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.3022, allocations: 4.031 kB / 1.205 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002872/0.3025, allocations: 79.89 kB / 1.205 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.3025, allocations: 0 / 1.205 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.3025, allocations: 8 kB / 1.205 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3025, allocations: 0 / 1.205 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.3025, allocations: 7.938 kB / 1.205 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006508/0.3032, allocations: 0.6564 MB / 1.206 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000569/0.3038, allocations: 379.6 kB / 1.206 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.3039, allocations: 8 kB / 1.206 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003702/0.3043, allocations: 11.94 kB / 1.206 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.3043, allocations: 19.91 kB / 1.206 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.3044, allocations: 12 kB / 1.206 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002129/0.3065, allocations: 1.827 MB / 1.208 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3e-07/0.3065, allocations: 4 kB / 1.208 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005685/0.3071, allocations: 227.8 kB / 1.208 GB, free: 11.67 MB / 0.9669 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.001168/0.3083, allocations: 1.265 MB / 1.209 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004781/0.3087, allocations: 339.8 kB / 1.21 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3088, allocations: 4 kB / 1.21 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.309, allocations: 167.8 kB / 1.21 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/0.311, allocations: 0.6285 MB / 1.21 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0172/0.3282, allocations: 14.87 MB / 1.225 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001194/0.3294, allocations: 1.765 MB / 1.227 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0007535/0.3302, allocations: 315.3 kB / 1.227 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006245/0.3308, allocations: 0.5852 MB / 1.228 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of SimCode: time 8.32e-07/0.3308, allocations: 0 / 1.228 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5383/0.8691, allocations: 39.78 MB / 1.266 GB, free: 77.03 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.951/10.82, allocations: 7.453 kB / 1.266 GB, free: 77.03 MB / 0.9981 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