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.00816/0.00816, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.002192/0.002192, allocations: 197.5 kB / 16.67 MB, free: 5.934 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.365/1.365, 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 10.1.1-maint.10.0.x/package.mo): time 2.559/2.559, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 63.91 kB / 1.018 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2826, allocations: 151.6 MB / 1.166 GB, free: 7.219 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.008657/0.2913, allocations: 7.335 MB / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007253/0.2986, allocations: 5.2 MB / 1.179 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.2996, allocations: 43.75 kB / 1.179 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004236/0.3039, allocations: 1.691 MB / 1.18 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001582/0.3055, allocations: 0.601 MB / 1.181 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007136/0.3062, allocations: 228.7 kB / 1.181 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002159/0.3084, allocations: 1.759 MB / 1.183 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007432/0.3092, allocations: 0.5775 MB / 1.183 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008375/0.31, allocations: 0.6685 MB / 1.184 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/0.311, allocations: 0.8162 MB / 1.185 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001624/0.3112, allocations: 80 kB / 1.185 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004861/0.3117, allocations: 195.8 kB / 1.185 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003401/0.312, allocations: 334.5 kB / 1.185 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007651/0.3128, allocations: 0.7804 MB / 1.186 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002583/0.3154, allocations: 2.447 MB / 1.188 GB, free: 356 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3154, allocations: 0 / 1.188 GB, free: 356 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3154, allocations: 0 / 1.188 GB, free: 356 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.807e-05/0.3154, allocations: 0 / 1.188 GB, free: 356 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.003158/0.3186, allocations: 2.327 MB / 1.191 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.3187, allocations: 8.031 kB / 1.191 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.687e-05/0.3187, allocations: 78.72 kB / 1.191 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000261/0.319, allocations: 211.5 kB / 1.191 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002503/0.3215, allocations: 1.69 MB / 1.193 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.3216, allocations: 29 kB / 1.193 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.125e-05/0.3216, allocations: 43.92 kB / 1.193 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006993/0.3223, allocations: 446.3 kB / 1.193 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.3224, allocations: 0 / 1.193 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/0.3224, allocations: 20 kB / 1.193 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.265e-05/0.3225, allocations: 20.98 kB / 1.193 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000634/0.3231, allocations: 427.7 kB / 1.194 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003078/0.3262, allocations: 2.3 MB / 1.196 GB, free: 8.473 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009628/0.3272, allocations: 0.4927 MB / 1.196 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002876/0.3275, allocations: 205.3 kB / 1.197 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.3275, allocations: 8.266 kB / 1.197 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.3275, allocations: 38.84 kB / 1.197 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=34): time 1.914e-06/0.3275, allocations: 4 kB / 1.197 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of matching and sorting (n=34): time 0.0009932/0.3285, allocations: 0.6464 MB / 1.197 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.3286, allocations: 55.41 kB / 1.197 GB, free: 6.988 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003265/0.3318, allocations: 2.559 MB / 1.2 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.487e-05/0.3319, allocations: 37.64 kB / 1.2 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000776/0.3327, allocations: 0.7646 MB / 1.201 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.3328, allocations: 119 kB / 1.201 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.3329, allocations: 69.64 kB / 1.201 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3331, allocations: 326.5 kB / 1.201 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.3333, allocations: 139.8 kB / 1.201 GB, free: 2.934 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/0.3335, allocations: 174.8 kB / 1.201 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004541/0.334, allocations: 321.1 kB / 1.202 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.334, allocations: 4 kB / 1.202 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007685/0.3348, allocations: 0.5351 MB / 1.202 GB, free: 1.895 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.3348, allocations: 4 kB / 1.202 GB, free: 1.891 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3348, allocations: 0 / 1.202 GB, free: 1.891 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.3349, allocations: 8.031 kB / 1.202 GB, free: 1.883 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.3352, allocations: 75.89 kB / 1.202 GB, free: 1.809 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3352, allocations: 0 / 1.202 GB, free: 1.809 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003722/0.3356, allocations: 35.73 kB / 1.202 GB, free: 1.773 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.3356, allocations: 8 kB / 1.202 GB, free: 1.766 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.0007822/0.3364, allocations: 0.6886 MB / 1.203 GB, free: 1.066 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002309/0.3366, allocations: 198.7 kB / 1.203 GB, free: 0.8711 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003204/0.337, allocations: 219.2 kB / 1.203 GB, free: 0.6523 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.337, allocations: 8 kB / 1.203 GB, free: 0.6445 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.337, allocations: 0 / 1.203 GB, free: 0.6445 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.337, allocations: 3.938 kB / 1.203 GB, free: 0.6406 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002016/0.339, allocations: 1.566 MB / 1.205 GB, free: 15 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.339, allocations: 0 / 1.205 GB, free: 15 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003055/0.3393, allocations: 79.89 kB / 1.205 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.3393, allocations: 4 kB / 1.205 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.3394, allocations: 8.094 kB / 1.205 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.3394, allocations: 7.984 kB / 1.205 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3394, allocations: 3.938 kB / 1.205 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007479/0.3401, allocations: 0.6486 MB / 1.206 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004921/0.3406, allocations: 379.6 kB / 1.206 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/0.3408, allocations: 12 kB / 1.206 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003785/0.3412, allocations: 8 kB / 1.206 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/0.3412, allocations: 23.91 kB / 1.206 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.3413, allocations: 11.94 kB / 1.206 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002398/0.3437, allocations: 1.835 MB / 1.208 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3437, allocations: 0 / 1.208 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006033/0.3443, allocations: 223.8 kB / 1.208 GB, free: 11.71 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.001359/0.3456, allocations: 1.271 MB / 1.209 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005374/0.3462, allocations: 339.8 kB / 1.21 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3462, allocations: 0 / 1.21 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002303/0.3464, allocations: 171.8 kB / 1.21 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002135/0.3486, allocations: 0.6322 MB / 1.21 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02/0.3686, allocations: 14.87 MB / 1.225 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00145/0.3701, allocations: 1.75 MB / 1.227 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0008072/0.3709, allocations: 315.2 kB / 1.227 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007237/0.3717, allocations: 0.5963 MB / 1.228 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of SimCode: time 8.42e-07/0.3717, allocations: 0 / 1.228 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5638/0.9355, allocations: 39.78 MB / 1.266 GB, free: 77.95 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/11.43, allocations: 6.859 kB / 1.266 GB, free: 77.95 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