Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|radTem.TRad",fileNamePrefix="Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|radTem.TRad",fileNamePrefix="Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005561/0.005561, allocations: 99.84 kB / 15.73 MB, free: 6.066 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.00105/0.00105, allocations: 200.7 kB / 16.68 MB, free: 5.977 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.139/1.139, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.919/1.919, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001059/0.001059, allocations: 63.91 kB / 0.9509 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6438/0.6448, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.006601/0.6515, allocations: 7.866 MB / 1.096 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.007093/0.6586, allocations: 5.369 MB / 1.101 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007291/0.6593, allocations: 55.06 kB / 1.101 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003895/0.6632, allocations: 1.72 MB / 1.103 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001377/0.6647, allocations: 0.6594 MB / 1.103 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007856/0.6655, allocations: 302 kB / 1.104 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002115/0.6676, allocations: 2.048 MB / 1.106 GB, free: 9.574 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007593/0.6684, allocations: 0.7024 MB / 1.106 GB, free: 9.289 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008161/0.6692, allocations: 0.7812 MB / 1.107 GB, free: 8.949 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008984/0.6701, allocations: 0.8708 MB / 1.108 GB, free: 8.527 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.6702, allocations: 93.41 kB / 1.108 GB, free: 8.527 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000461/0.6707, allocations: 222.7 kB / 1.108 GB, free: 8.484 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003446/0.6711, allocations: 370.2 kB / 1.109 GB, free: 8.293 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000767/0.6718, allocations: 0.8703 MB / 1.109 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00243/0.6743, allocations: 2.631 MB / 1.112 GB, free: 6.762 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.6743, allocations: 0 / 1.112 GB, free: 6.762 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6743, allocations: 0 / 1.112 GB, free: 6.762 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.979e-05/0.6743, allocations: 0.6562 kB / 1.112 GB, free: 6.762 MB / 0.8731 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.003072/0.6774, allocations: 2.396 MB / 1.114 GB, free: 5.199 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.6774, allocations: 14.66 kB / 1.114 GB, free: 5.195 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000235/0.6777, allocations: 211.8 kB / 1.115 GB, free: 5.086 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00234/0.68, allocations: 1.719 MB / 1.116 GB, free: 4.184 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/0.6801, allocations: 37.61 kB / 1.116 GB, free: 4.168 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.985e-05/0.6801, allocations: 50.19 kB / 1.116 GB, free: 4.152 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008162/0.681, allocations: 0.5575 MB / 1.117 GB, free: 3.949 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.681, allocations: 0 / 1.117 GB, free: 3.949 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.184e-05/0.681, allocations: 24.3 kB / 1.117 GB, free: 3.93 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.681, allocations: 11.44 kB / 1.117 GB, free: 3.93 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006989/0.6818, allocations: 0.4957 MB / 1.117 GB, free: 3.789 MB / 0.8731 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.003772/0.6855, allocations: 3.232 MB / 1.121 GB, free: 1.812 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 8.819e-05/0.6856, allocations: 54.81 kB / 1.121 GB, free: 1.781 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.065e-05/0.6857, allocations: 48.91 kB / 1.121 GB, free: 1.762 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.6857, allocations: 1.531 kB / 1.121 GB, free: 1.762 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.6857, allocations: 31.22 kB / 1.121 GB, free: 1.723 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.6857, allocations: 0 / 1.121 GB, free: 1.723 MB / 0.8731 GB Notification: Performance of matching and sorting (n=1): time 0.0004724/0.6862, allocations: 360.2 kB / 1.121 GB, free: 1.551 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.6863, allocations: 57.44 kB / 1.121 GB, free: 1.484 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003354/0.6896, allocations: 2.926 MB / 1.124 GB, free: 0.5547 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.6896, allocations: 30.7 kB / 1.124 GB, free: 0.5195 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007938/0.6904, allocations: 0.9353 MB / 1.125 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.6905, allocations: 13.8 kB / 1.125 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.6906, allocations: 114.9 kB / 1.125 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.6907, allocations: 327.3 kB / 1.125 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.6909, allocations: 147.9 kB / 1.125 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003956/0.6913, allocations: 474.3 kB / 1.126 GB, free: 14.9 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000562/0.6919, allocations: 0.6082 MB / 1.126 GB, free: 14.35 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.6919, allocations: 3.156 kB / 1.126 GB, free: 14.35 MB / 0.8887 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009409/0.6929, allocations: 0.7663 MB / 1.127 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.6929, allocations: 10.25 kB / 1.127 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.6929, allocations: 11.36 kB / 1.127 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.6929, allocations: 14.03 kB / 1.127 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/0.6932, allocations: 107.1 kB / 1.127 GB, free: 14 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.021e-05/0.6933, allocations: 25.48 kB / 1.127 GB, free: 14 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005911/0.6939, allocations: 93.47 kB / 1.127 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.405e-05/0.6939, allocations: 28.19 kB / 1.127 GB, free: 13.93 MB / 0.8887 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.0007399/0.6946, allocations: 0.7334 MB / 1.128 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002006/0.6948, allocations: 208.4 kB / 1.128 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000269/0.6951, allocations: 219.6 kB / 1.129 GB, free: 13.42 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.6951, allocations: 4 kB / 1.129 GB, free: 13.42 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.6951, allocations: 0.7031 kB / 1.129 GB, free: 13.42 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.6951, allocations: 0 / 1.129 GB, free: 13.42 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.6962, allocations: 0.9432 MB / 1.13 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6963, allocations: 0 / 1.13 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.753e-05/0.6963, allocations: 6.828 kB / 1.13 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.6963, allocations: 0 / 1.13 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.6963, allocations: 1.719 kB / 1.13 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.6963, allocations: 0 / 1.13 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6963, allocations: 7.875 kB / 1.13 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003707/0.6967, allocations: 428.3 kB / 1.13 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004529/0.6972, allocations: 358.9 kB / 1.13 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.6973, allocations: 0 / 1.13 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003191/0.6977, allocations: 2.562 kB / 1.13 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.555e-05/0.6977, allocations: 1.031 kB / 1.13 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.6977, allocations: 1.766 kB / 1.13 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002443/0.7001, allocations: 2.066 MB / 1.132 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7001, allocations: 0 / 1.132 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007052/0.7009, allocations: 244.9 kB / 1.133 GB, free: 11.73 MB / 0.8887 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.0003066/0.7012, allocations: 143 kB / 1.133 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004292/0.7016, allocations: 315.5 kB / 1.133 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7016, allocations: 0 / 1.133 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 6.066e-05/0.7017, allocations: 42.86 kB / 1.133 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/0.7038, allocations: 0.7204 MB / 1.134 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004038/0.7079, allocations: 3.338 MB / 1.137 GB, free: 9.828 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001361/0.7093, allocations: 1.801 MB / 1.139 GB, free: 8.91 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0006722/0.7099, allocations: 314.2 kB / 1.139 GB, free: 8.855 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.7101, allocations: 90.47 kB / 1.139 GB, free: 8.848 MB / 0.8887 GB Notification: Performance of SimCode: time 5.01e-07/0.7101, allocations: 0 / 1.139 GB, free: 8.848 MB / 0.8887 GB Notification: Performance of Templates: time 0.03904/0.7492, allocations: 24.91 MB / 1.163 GB, free: 14.66 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.makefile (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.sim & ./Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches