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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.005586/0.005586, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001679/0.001679, allocations: 193.8 kB / 16.67 MB, free: 5.93 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.222/1.222, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.415/2.415, allocations: 482.6 MB / 0.7551 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 64.78 kB / 1.083 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2511, allocations: 162.3 MB / 1.242 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.007586/0.2587, allocations: 7.342 MB / 1.249 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005584/0.2643, allocations: 5.196 MB / 1.254 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004205/0.2648, allocations: 47.75 kB / 1.254 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003136/0.2679, allocations: 1.694 MB / 1.256 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0008882/0.2688, allocations: 0.5932 MB / 1.256 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005121/0.2693, allocations: 235.8 kB / 1.257 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001562/0.2709, allocations: 1.755 MB / 1.258 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006117/0.2715, allocations: 0.5775 MB / 1.259 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006051/0.2721, allocations: 0.6763 MB / 1.26 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008371/0.273, allocations: 0.8084 MB / 1.26 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.2731, allocations: 80 kB / 1.261 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004099/0.2735, allocations: 203.8 kB / 1.261 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000292/0.2738, allocations: 326.5 kB / 1.261 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006549/0.2745, allocations: 0.7921 MB / 1.262 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002113/0.2766, allocations: 2.439 MB / 1.264 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2766, allocations: 3.984 kB / 1.264 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2766, allocations: 0 / 1.264 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.316e-05/0.2767, allocations: 0 / 1.264 GB, free: 1.973 MB / 0.9825 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.002612/0.2793, allocations: 2.315 MB / 1.266 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.2793, allocations: 12.03 kB / 1.266 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.239e-05/0.2794, allocations: 78.7 kB / 1.267 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002117/0.2796, allocations: 223.5 kB / 1.267 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002134/0.2818, allocations: 1.682 MB / 1.268 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.2818, allocations: 32.98 kB / 1.268 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.757e-05/0.2819, allocations: 36 kB / 1.268 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006235/0.2825, allocations: 442.3 kB / 1.269 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.2825, allocations: 0 / 1.269 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/0.2825, allocations: 23.98 kB / 1.269 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.62e-05/0.2826, allocations: 20.98 kB / 1.269 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005948/0.2832, allocations: 427.7 kB / 1.269 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002612/0.2858, allocations: 2.312 MB / 1.272 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008822/0.2867, allocations: 0.4922 MB / 1.272 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002703/0.287, allocations: 201.3 kB / 1.272 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.287, allocations: 8.219 kB / 1.272 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.287, allocations: 38.84 kB / 1.272 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=34): time 2.966e-06/0.287, allocations: 3.984 kB / 1.272 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34): time 0.0008603/0.2879, allocations: 0.6508 MB / 1.273 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.2879, allocations: 55.41 kB / 1.273 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002873/0.2908, allocations: 2.559 MB / 1.275 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.2909, allocations: 33.64 kB / 1.276 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006992/0.2916, allocations: 0.7607 MB / 1.276 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.746e-05/0.2917, allocations: 122.9 kB / 1.276 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.2918, allocations: 69.66 kB / 1.276 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.2919, allocations: 326.5 kB / 1.277 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.2921, allocations: 131.9 kB / 1.277 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/0.2923, allocations: 182 kB / 1.277 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004159/0.2927, allocations: 322.9 kB / 1.277 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2928, allocations: 0 / 1.277 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006508/0.2934, allocations: 0.5389 MB / 1.278 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.2934, allocations: 8 kB / 1.278 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.2934, allocations: 0 / 1.278 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.2935, allocations: 4.031 kB / 1.278 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.2937, allocations: 75.89 kB / 1.278 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.2938, allocations: 4 kB / 1.278 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002808/0.294, allocations: 35.73 kB / 1.278 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.2941, allocations: 4 kB / 1.278 GB, free: 3.387 MB / 0.9981 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.000696/0.2948, allocations: 0.6925 MB / 1.279 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/0.295, allocations: 198.7 kB / 1.279 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002754/0.2953, allocations: 211.2 kB / 1.279 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2953, allocations: 8 kB / 1.279 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2953, allocations: 0 / 1.279 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.2953, allocations: 0 / 1.279 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001764/0.297, allocations: 1.574 MB / 1.281 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2971, allocations: 4 kB / 1.281 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/0.2973, allocations: 71.89 kB / 1.281 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.2973, allocations: 8.094 kB / 1.281 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.2974, allocations: 8 kB / 1.281 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.2974, allocations: 0 / 1.281 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/0.2974, allocations: 11.88 kB / 1.281 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006675/0.2981, allocations: 0.6447 MB / 1.281 GB, free: 15.85 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004415/0.2985, allocations: 383.6 kB / 1.282 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.2987, allocations: 8 kB / 1.282 GB, free: 15.45 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003363/0.299, allocations: 11.98 kB / 1.282 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.299, allocations: 19.92 kB / 1.282 GB, free: 15.42 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.2991, allocations: 12 kB / 1.282 GB, free: 15.41 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002124/0.3012, allocations: 1.831 MB / 1.284 GB, free: 13.56 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3012, allocations: 0 / 1.284 GB, free: 13.56 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004966/0.3017, allocations: 231.8 kB / 1.284 GB, free: 13.33 MB / 1.014 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.001176/0.3029, allocations: 1.265 MB / 1.285 GB, free: 12.04 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004775/0.3034, allocations: 335.5 kB / 1.285 GB, free: 11.71 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3034, allocations: 0 / 1.285 GB, free: 11.71 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.3036, allocations: 175.7 kB / 1.285 GB, free: 11.54 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001914/0.3055, allocations: 0.628 MB / 1.286 GB, free: 10.93 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01691/0.3224, allocations: 14.87 MB / 1.301 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/0.3237, allocations: 1.75 MB / 1.302 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0006002/0.3243, allocations: 311.2 kB / 1.303 GB, free: 9.746 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006542/0.325, allocations: 0.5969 MB / 1.303 GB, free: 9.148 MB / 1.029 GB Notification: Performance of SimCode: time 2.5e-07/0.325, allocations: 0 / 1.303 GB, free: 9.148 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6484/0.9734, allocations: 39.78 MB / 1.342 GB, free: 1.898 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.67, allocations: 2.312 kB / 1.342 GB, free: 1.898 MB / 1.061 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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