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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 111.6 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.887/2.887, allocations: 497.2 MB / 0.7811 GB, free: 33.56 MB / 0.6231 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 72.64 kB / 1.134 GB, free: 33.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3135, allocations: 173.9 MB / 1.304 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.008608/0.3221, allocations: 7.366 MB / 1.311 GB, free: 10.07 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00727/0.3294, allocations: 5.219 MB / 1.316 GB, free: 4.824 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008379/0.3302, allocations: 55.69 kB / 1.316 GB, free: 4.77 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003817/0.334, allocations: 1.695 MB / 1.318 GB, free: 3.066 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001349/0.3354, allocations: 0.6088 MB / 1.319 GB, free: 2.453 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006817/0.3361, allocations: 220 kB / 1.319 GB, free: 2.238 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00194/0.338, allocations: 1.756 MB / 1.321 GB, free: 492 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000578/0.3386, allocations: 419.5 kB / 1.321 GB, free: 48 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008035/0.3394, allocations: 0.7076 MB / 1.322 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009016/0.3403, allocations: 0.8279 MB / 1.322 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.3404, allocations: 80 kB / 1.323 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004247/0.3409, allocations: 219.5 kB / 1.323 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003185/0.3412, allocations: 334.4 kB / 1.323 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006967/0.3419, allocations: 0.7921 MB / 1.324 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002437/0.3443, allocations: 2.455 MB / 1.326 GB, free: 10.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3443, allocations: 0 / 1.326 GB, free: 10.62 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3443, allocations: 0 / 1.326 GB, free: 10.62 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.797e-05/0.3443, allocations: 0 / 1.326 GB, free: 10.62 MB / 1.029 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.003192/0.3475, allocations: 2.331 MB / 1.329 GB, free: 8.219 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.3476, allocations: 8.031 kB / 1.329 GB, free: 8.211 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.857e-05/0.3477, allocations: 74.7 kB / 1.329 GB, free: 8.129 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002359/0.3479, allocations: 211.6 kB / 1.329 GB, free: 7.922 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002672/0.3506, allocations: 1.694 MB / 1.33 GB, free: 6.16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.173e-05/0.3506, allocations: 28.97 kB / 1.33 GB, free: 6.133 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.377e-05/0.3506, allocations: 36 kB / 1.331 GB, free: 6.098 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000676/0.3513, allocations: 446.3 kB / 1.331 GB, free: 5.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.3513, allocations: 0 / 1.331 GB, free: 5.66 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.039e-05/0.3514, allocations: 19.97 kB / 1.331 GB, free: 5.641 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.225e-05/0.3514, allocations: 28.98 kB / 1.331 GB, free: 5.613 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006298/0.3521, allocations: 423.7 kB / 1.331 GB, free: 5.199 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00325/0.3553, allocations: 2.304 MB / 1.334 GB, free: 2.742 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009429/0.3562, allocations: 497.7 kB / 1.334 GB, free: 2.246 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002797/0.3565, allocations: 197.3 kB / 1.334 GB, free: 2.051 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.3565, allocations: 4.281 kB / 1.334 GB, free: 2.047 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.3566, allocations: 34.84 kB / 1.334 GB, free: 2.004 MB / 1.029 GB Notification: Performance of pre-optimization done (n=34): time 1.673e-06/0.3566, allocations: 4 kB / 1.334 GB, free: 2 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.0009486/0.3575, allocations: 0.6589 MB / 1.335 GB, free: 1.336 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.3576, allocations: 51.41 kB / 1.335 GB, free: 1.273 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003148/0.3607, allocations: 2.559 MB / 1.338 GB, free: 14.68 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.3607, allocations: 29.7 kB / 1.338 GB, free: 14.65 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007415/0.3615, allocations: 0.7646 MB / 1.338 GB, free: 13.88 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.3616, allocations: 119 kB / 1.338 GB, free: 13.76 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.3617, allocations: 69.64 kB / 1.339 GB, free: 13.69 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3618, allocations: 326.5 kB / 1.339 GB, free: 13.36 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.362, allocations: 135.9 kB / 1.339 GB, free: 13.23 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002516/0.3623, allocations: 183.5 kB / 1.339 GB, free: 13.05 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004395/0.3627, allocations: 317.1 kB / 1.339 GB, free: 12.73 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3627, allocations: 0 / 1.339 GB, free: 12.73 MB / 1.045 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007004/0.3634, allocations: 0.5389 MB / 1.34 GB, free: 12.19 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.3635, allocations: 8 kB / 1.34 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3635, allocations: 0 / 1.34 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3635, allocations: 3.938 kB / 1.34 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.3638, allocations: 83.92 kB / 1.34 GB, free: 12.09 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.3638, allocations: 7.938 kB / 1.34 GB, free: 12.09 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00031/0.3641, allocations: 27.78 kB / 1.34 GB, free: 12.06 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.3641, allocations: 8 kB / 1.34 GB, free: 12.05 MB / 1.045 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.00075/0.3649, allocations: 0.6964 MB / 1.341 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/0.3651, allocations: 194.7 kB / 1.341 GB, free: 11.15 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003024/0.3654, allocations: 223.2 kB / 1.341 GB, free: 10.93 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.3654, allocations: 3.984 kB / 1.341 GB, free: 10.92 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.3654, allocations: 8 kB / 1.341 GB, free: 10.91 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3654, allocations: 0 / 1.341 GB, free: 10.91 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002098/0.3675, allocations: 1.562 MB / 1.343 GB, free: 9.281 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3675, allocations: 0 / 1.343 GB, free: 9.281 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/0.3678, allocations: 75.91 kB / 1.343 GB, free: 9.207 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.3678, allocations: 3.984 kB / 1.343 GB, free: 9.203 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.3678, allocations: 12.09 kB / 1.343 GB, free: 9.191 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3678, allocations: 0 / 1.343 GB, free: 9.191 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.3678, allocations: 7.938 kB / 1.343 GB, free: 9.184 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007158/0.3685, allocations: 0.6475 MB / 1.343 GB, free: 8.508 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006399/0.3692, allocations: 375.6 kB / 1.344 GB, free: 8.121 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.3693, allocations: 12 kB / 1.344 GB, free: 8.109 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003551/0.3696, allocations: 15.98 kB / 1.344 GB, free: 8.094 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.3697, allocations: 15.92 kB / 1.344 GB, free: 8.078 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.3697, allocations: 12 kB / 1.344 GB, free: 8.066 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002278/0.372, allocations: 1.827 MB / 1.346 GB, free: 6.223 MB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.372, allocations: 4 kB / 1.346 GB, free: 6.219 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005665/0.3726, allocations: 231.8 kB / 1.346 GB, free: 5.992 MB / 1.045 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.00129/0.3738, allocations: 1.255 MB / 1.347 GB, free: 4.707 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005091/0.3743, allocations: 332.6 kB / 1.347 GB, free: 4.383 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3744, allocations: 3.938 kB / 1.347 GB, free: 4.379 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.3746, allocations: 168 kB / 1.348 GB, free: 4.215 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/0.3765, allocations: 0.6307 MB / 1.348 GB, free: 3.602 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01904/0.3956, allocations: 14.87 MB / 1.363 GB, free: 4.512 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001394/0.397, allocations: 1.75 MB / 1.364 GB, free: 2.727 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0008066/0.3978, allocations: 311.3 kB / 1.365 GB, free: 2.418 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006955/0.3985, allocations: 0.593 MB / 1.365 GB, free: 1.824 MB / 1.061 GB Notification: Performance of SimCode: time 1.403e-06/0.3985, allocations: 0 / 1.365 GB, free: 1.824 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07573/0.4742, allocations: 39.96 MB / 1.404 GB, free: 10.4 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/10.79, allocations: 14.02 kB / 1.404 GB, free: 10.39 MB / 1.107 GB " [Timeout remaining time 289] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.972870162688196]