Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.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.RadiationTemperature,fileNamePrefix="Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,fileNamePrefix="Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature",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.001291/0.001291, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001256/0.001256, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.25/1.25, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.265/2.265, allocations: 437 MB / 0.7101 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001225, allocations: 67.89 kB / 0.8689 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4626/0.4638, allocations: 151.6 MB / 1.017 GB, free: 2.664 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.006917/0.4707, allocations: 7.808 MB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005382/0.4761, allocations: 5.319 MB / 1.03 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005054/0.4767, allocations: 39.75 kB / 1.03 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003026/0.4797, allocations: 1.625 MB / 1.031 GB, free: 3.812 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000889/0.4806, allocations: 0.5782 MB / 1.032 GB, free: 3.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005725/0.4812, allocations: 267.5 kB / 1.032 GB, free: 2.969 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001513/0.4827, allocations: 2.055 MB / 1.034 GB, free: 0.9062 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006169/0.4833, allocations: 0.6957 MB / 1.035 GB, free: 196 kB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006114/0.484, allocations: 0.7775 MB / 1.036 GB, free: 15.41 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007594/0.4847, allocations: 0.8903 MB / 1.037 GB, free: 14.52 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.4849, allocations: 96 kB / 1.037 GB, free: 14.42 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003631/0.4852, allocations: 215.8 kB / 1.037 GB, free: 14.21 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002548/0.4855, allocations: 378.4 kB / 1.037 GB, free: 13.84 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000595/0.4861, allocations: 0.8817 MB / 1.038 GB, free: 12.95 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00159/0.4877, allocations: 2.386 MB / 1.04 GB, free: 10.56 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.4877, allocations: 0 / 1.04 GB, free: 10.56 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4877, allocations: 0 / 1.04 GB, free: 10.56 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.463e-05/0.4877, allocations: 0 / 1.04 GB, free: 10.56 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002439/0.4902, allocations: 2.351 MB / 1.043 GB, free: 8.141 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.4902, allocations: 8.031 kB / 1.043 GB, free: 8.133 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.093e-05/0.4903, allocations: 90.7 kB / 1.043 GB, free: 8.035 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001976/0.4905, allocations: 214.2 kB / 1.043 GB, free: 7.824 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00184/0.4924, allocations: 1.614 MB / 1.045 GB, free: 6.141 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.4924, allocations: 41 kB / 1.045 GB, free: 6.098 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.357e-05/0.4925, allocations: 52 kB / 1.045 GB, free: 6.047 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007126/0.4932, allocations: 0.5529 MB / 1.045 GB, free: 5.484 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.4932, allocations: 0 / 1.045 GB, free: 5.484 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.753e-05/0.4932, allocations: 19.98 kB / 1.045 GB, free: 5.465 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.4933, allocations: 16 kB / 1.045 GB, free: 5.449 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006154/0.4939, allocations: 0.4957 MB / 1.046 GB, free: 4.957 MB / 0.795 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003251/0.4971, allocations: 3.258 MB / 1.049 GB, free: 1.453 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.448e-05/0.4972, allocations: 54.55 kB / 1.049 GB, free: 1.391 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.359e-05/0.4973, allocations: 44.88 kB / 1.049 GB, free: 1.344 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.4973, allocations: 0 / 1.049 GB, free: 1.344 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.477e-05/0.4973, allocations: 42.48 kB / 1.049 GB, free: 1.293 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.4973, allocations: 0 / 1.049 GB, free: 1.293 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.000406/0.4977, allocations: 362.9 kB / 1.049 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/0.4978, allocations: 51.41 kB / 1.049 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00285/0.5006, allocations: 2.958 MB / 1.052 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.5007, allocations: 29.64 kB / 1.052 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006793/0.5013, allocations: 0.9347 MB / 1.053 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.244e-05/0.5014, allocations: 16.11 kB / 1.053 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.5015, allocations: 118 kB / 1.053 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.027e-05/0.5016, allocations: 329.9 kB / 1.054 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.5018, allocations: 149 kB / 1.054 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003355/0.5021, allocations: 469.2 kB / 1.054 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004907/0.5026, allocations: 0.602 MB / 1.055 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.5026, allocations: 4 kB / 1.055 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008204/0.5034, allocations: 0.7608 MB / 1.056 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.5035, allocations: 8 kB / 1.056 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.5035, allocations: 20.14 kB / 1.056 GB, free: 10.15 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.5035, allocations: 12 kB / 1.056 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/0.5038, allocations: 103.8 kB / 1.056 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/0.5038, allocations: 23.86 kB / 1.056 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005004/0.5043, allocations: 94.97 kB / 1.056 GB, free: 9.922 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.5043, allocations: 28 kB / 1.056 GB, free: 9.895 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (58): * Single equations (assignments): 58 * 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.0006093/0.5049, allocations: 0.7392 MB / 1.057 GB, free: 9.145 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.5051, allocations: 205.4 kB / 1.057 GB, free: 8.941 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002336/0.5054, allocations: 219.8 kB / 1.057 GB, free: 8.719 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.5054, allocations: 0 / 1.057 GB, free: 8.719 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.5054, allocations: 0 / 1.057 GB, free: 8.719 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-06/0.5054, allocations: 0 / 1.057 GB, free: 8.719 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008061/0.5062, allocations: 0.9548 MB / 1.058 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.5062, allocations: 4 kB / 1.058 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.558e-05/0.5063, allocations: 0 / 1.058 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.5063, allocations: 0 / 1.058 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.5063, allocations: 0 / 1.058 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.5063, allocations: 7.938 kB / 1.058 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5063, allocations: 0 / 1.058 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.5066, allocations: 417.1 kB / 1.058 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004078/0.507, allocations: 370.3 kB / 1.059 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/0.5072, allocations: 8.031 kB / 1.059 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003079/0.5075, allocations: 7.984 kB / 1.059 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.708e-05/0.5075, allocations: 0 / 1.059 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.5075, allocations: 4 kB / 1.059 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00211/0.5096, allocations: 2.074 MB / 1.061 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5096, allocations: 0 / 1.061 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000601/0.5103, allocations: 243.9 kB / 1.061 GB, free: 4.555 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0007201/0.511, allocations: 1.022 MB / 1.062 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003801/0.5114, allocations: 308.5 kB / 1.062 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5114, allocations: 1.875 kB / 1.062 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.346e-05/0.5114, allocations: 43.95 kB / 1.062 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/0.5135, allocations: 0.7209 MB / 1.063 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02228/0.5358, allocations: 18.99 MB / 1.082 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/0.5369, allocations: 1.808 MB / 1.083 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0007762/0.5377, allocations: 342.9 kB / 1.084 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006277/0.5383, allocations: 0.6867 MB / 1.084 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of SimCode: time 3.51e-07/0.5383, allocations: 0 / 1.084 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.773/3.311, allocations: 44.2 MB / 1.127 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002852/3.312, allocations: 278.3 kB / 1.128 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.709/6.021, allocations: 0 / 1.128 GB, free: 15.38 MB / 0.8887 GB (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.fmu > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches