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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007535/0.0007535, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007544/0.0007544, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.811/0.811, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.723/1.723, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.315e-06/2.315e-06, allocations: 4 kB / 0.9998 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.429e-05/1.66e-05, allocations: 2.281 kB / 0.9998 GB, free: 13.4 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.005226/0.005243, allocations: 6.504 MB / 1.006 GB, free: 6.859 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.004464/0.009707, allocations: 4.725 MB / 1.011 GB, free: 2.117 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006034/0.01031, allocations: 71.44 kB / 1.011 GB, free: 2.047 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.002506/0.01282, allocations: 1.593 MB / 1.012 GB, free: 456 kB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.001045/0.01386, allocations: 0.6395 MB / 1.013 GB, free: 15.8 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004647/0.01433, allocations: 247.8 kB / 1.013 GB, free: 15.56 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.001226/0.01555, allocations: 1.836 MB / 1.015 GB, free: 13.72 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003082/0.01586, allocations: 232 kB / 1.015 GB, free: 13.47 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007812/0.01664, allocations: 0.9933 MB / 1.016 GB, free: 12.48 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005355/0.01718, allocations: 0.6856 MB / 1.017 GB, free: 11.79 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 9.171e-05/0.01727, allocations: 80 kB / 1.017 GB, free: 11.71 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000339/0.01761, allocations: 199.8 kB / 1.017 GB, free: 11.52 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001943/0.0178, allocations: 346.4 kB / 1.017 GB, free: 11.18 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0003159/0.01812, allocations: 454.7 kB / 1.018 GB, free: 10.73 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.0198, allocations: 2.375 MB / 1.02 GB, free: 8.348 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.01981, allocations: 4 kB / 1.02 GB, free: 8.344 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.512e-06/0.01981, allocations: 0 / 1.02 GB, free: 8.344 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.821e-05/0.01983, allocations: 0 / 1.02 GB, free: 8.344 MB / 0.9792 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.001981/0.02181, allocations: 2.228 MB / 1.022 GB, free: 6.066 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.02185, allocations: 13.34 kB / 1.022 GB, free: 6.055 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.217e-05/0.02191, allocations: 82.64 kB / 1.022 GB, free: 5.965 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.02208, allocations: 207.6 kB / 1.023 GB, free: 5.762 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001609/0.02368, allocations: 1.618 MB / 1.024 GB, free: 4.086 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.02371, allocations: 37.11 kB / 1.024 GB, free: 4.051 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.02374, allocations: 32 kB / 1.024 GB, free: 4.02 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004641/0.0242, allocations: 472 kB / 1.025 GB, free: 3.547 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.02421, allocations: 0 / 1.025 GB, free: 3.547 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.02424, allocations: 23.97 kB / 1.025 GB, free: 3.523 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.251e-05/0.02427, allocations: 17 kB / 1.025 GB, free: 3.508 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004105/0.02468, allocations: 423.6 kB / 1.025 GB, free: 3.094 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002075/0.02676, allocations: 1.777 MB / 1.027 GB, free: 1.258 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006128/0.02737, allocations: 489.1 kB / 1.027 GB, free: 0.7695 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.02754, allocations: 193.2 kB / 1.028 GB, free: 0.5781 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.02756, allocations: 4.281 kB / 1.028 GB, free: 0.5742 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.02758, allocations: 38.84 kB / 1.028 GB, free: 0.5273 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=34): time 1.463e-06/0.02758, allocations: 4 kB / 1.028 GB, free: 0.5234 MB / 0.9792 GB Notification: Performance of matching and sorting (n=34): time 0.000664/0.02824, allocations: 0.6484 MB / 1.028 GB, free: 15.87 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.02827, allocations: 59.34 kB / 1.028 GB, free: 15.8 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002068/0.03034, allocations: 2.552 MB / 1.031 GB, free: 13.21 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.03037, allocations: 33.7 kB / 1.031 GB, free: 13.18 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004837/0.03085, allocations: 0.7724 MB / 1.032 GB, free: 12.39 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.974e-05/0.03091, allocations: 118.8 kB / 1.032 GB, free: 12.28 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-05/0.03098, allocations: 69.52 kB / 1.032 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 7.42e-05/0.03106, allocations: 322 kB / 1.032 GB, free: 11.89 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.0312, allocations: 135.9 kB / 1.032 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.03137, allocations: 204.8 kB / 1.032 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/0.03167, allocations: 329.6 kB / 1.033 GB, free: 11.22 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.03167, allocations: 0 / 1.033 GB, free: 11.22 MB / 0.9948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004754/0.03215, allocations: 0.539 MB / 1.033 GB, free: 10.67 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.03216, allocations: 8 kB / 1.033 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.03217, allocations: 0 / 1.033 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.03219, allocations: 0 / 1.033 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.03237, allocations: 71.95 kB / 1.033 GB, free: 10.59 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.03238, allocations: 11.88 kB / 1.033 GB, free: 10.58 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.0326, allocations: 31.77 kB / 1.033 GB, free: 10.55 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.03261, allocations: 12.03 kB / 1.033 GB, free: 10.54 MB / 0.9948 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.0007418/0.03336, allocations: 0.6809 MB / 1.034 GB, free: 9.848 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.03348, allocations: 206.6 kB / 1.034 GB, free: 9.645 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001791/0.03366, allocations: 215.2 kB / 1.034 GB, free: 9.43 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.03366, allocations: 4 kB / 1.034 GB, free: 9.426 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.03367, allocations: 0 / 1.034 GB, free: 9.426 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.03367, allocations: 7.984 kB / 1.034 GB, free: 9.418 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.03493, allocations: 1.432 MB / 1.036 GB, free: 7.922 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.03493, allocations: 0 / 1.036 GB, free: 7.922 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.03509, allocations: 79.98 kB / 1.036 GB, free: 7.844 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.0351, allocations: 4 kB / 1.036 GB, free: 7.84 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.03511, allocations: 4 kB / 1.036 GB, free: 7.836 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.03511, allocations: 4 kB / 1.036 GB, free: 7.832 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.03511, allocations: 3.984 kB / 1.036 GB, free: 7.828 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004558/0.03557, allocations: 0.6555 MB / 1.037 GB, free: 7.145 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003471/0.03592, allocations: 306.5 kB / 1.037 GB, free: 6.844 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.864e-05/0.03601, allocations: 8 kB / 1.037 GB, free: 6.836 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.03622, allocations: 8 kB / 1.037 GB, free: 6.828 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.03626, allocations: 31.89 kB / 1.037 GB, free: 6.797 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.03627, allocations: 12 kB / 1.037 GB, free: 6.785 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001502/0.03777, allocations: 1.827 MB / 1.039 GB, free: 4.941 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.6e-07/0.03777, allocations: 0 / 1.039 GB, free: 4.941 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000405/0.03818, allocations: 235.7 kB / 1.039 GB, free: 4.711 MB / 0.9948 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.0008625/0.03904, allocations: 1.265 MB / 1.04 GB, free: 3.418 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.000364/0.0394, allocations: 324.7 kB / 1.041 GB, free: 3.102 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.03941, allocations: 4 kB / 1.041 GB, free: 3.098 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.03954, allocations: 160.3 kB / 1.041 GB, free: 2.941 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/0.04104, allocations: 0.633 MB / 1.041 GB, free: 2.324 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01417/0.05521, allocations: 14.93 MB / 1.056 GB, free: 3.168 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007289/0.05594, allocations: 1.174 MB / 1.057 GB, free: 1.949 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005233/0.05646, allocations: 315.2 kB / 1.057 GB, free: 1.637 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004576/0.05692, allocations: 0.5941 MB / 1.058 GB, free: 1.039 MB / 1.01 GB Notification: Performance of SimCode: time 1.273e-06/0.05692, allocations: 0 / 1.058 GB, free: 1.039 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.419/0.4759, allocations: 42.96 MB / 1.1 GB, free: 90.85 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.224/7.7, allocations: 1.188 kB / 1.1 GB, free: 90.85 MB / 1.01 GB " [Timeout remaining time 292] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 11.57989098969847]