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.004691/0.004691, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001158/0.001158, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.176/1.176, 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 9.1.3-maint.9.1.x/package.mo): time 1.957/1.957, allocations: 390.2 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 67.89 kB / 0.951 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6405/0.6417, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.007002/0.6487, allocations: 7.87 MB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.007895/0.6567, allocations: 5.377 MB / 1.101 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007034/0.6574, allocations: 55.06 kB / 1.101 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003822/0.6612, allocations: 1.714 MB / 1.103 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001303/0.6625, allocations: 0.6674 MB / 1.103 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008191/0.6634, allocations: 303.4 kB / 1.104 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002305/0.6657, allocations: 2.045 MB / 1.106 GB, free: 9.578 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008683/0.6666, allocations: 0.6986 MB / 1.106 GB, free: 9.297 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009461/0.6675, allocations: 0.7777 MB / 1.107 GB, free: 8.961 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.6685, allocations: 0.879 MB / 1.108 GB, free: 8.531 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001617/0.6687, allocations: 93.44 kB / 1.108 GB, free: 8.531 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005024/0.6692, allocations: 213.9 kB / 1.108 GB, free: 8.496 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003612/0.6696, allocations: 369.4 kB / 1.109 GB, free: 8.305 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0008832/0.6705, allocations: 0.8722 MB / 1.109 GB, free: 7.754 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002891/0.6734, allocations: 2.632 MB / 1.112 GB, free: 6.77 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.6734, allocations: 4 kB / 1.112 GB, free: 6.766 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6734, allocations: 5.375 kB / 1.112 GB, free: 6.762 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.154e-05/0.6734, allocations: 0 / 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.003503/0.6769, allocations: 2.47 MB / 1.114 GB, free: 5.125 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.677, allocations: 9.719 kB / 1.114 GB, free: 5.125 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002603/0.6772, allocations: 225.1 kB / 1.115 GB, free: 5.004 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002664/0.6799, allocations: 1.737 MB / 1.116 GB, free: 4.086 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/0.68, allocations: 38.56 kB / 1.116 GB, free: 4.07 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.605e-05/0.68, allocations: 50.06 kB / 1.116 GB, free: 4.055 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008808/0.6809, allocations: 0.5526 MB / 1.117 GB, free: 3.855 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.6809, allocations: 0.5156 kB / 1.117 GB, free: 3.855 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.401e-05/0.681, allocations: 19.88 kB / 1.117 GB, free: 3.84 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.681, allocations: 11.69 kB / 1.117 GB, free: 3.84 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007496/0.6818, allocations: 0.4922 MB / 1.117 GB, free: 3.703 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.004127/0.6859, allocations: 3.248 MB / 1.121 GB, free: 1.711 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 8.893e-05/0.686, allocations: 55.31 kB / 1.121 GB, free: 1.68 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.471e-05/0.6861, allocations: 48.81 kB / 1.121 GB, free: 1.66 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.6861, allocations: 1.438 kB / 1.121 GB, free: 1.66 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.6861, allocations: 35.17 kB / 1.121 GB, free: 1.617 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=1): time 1.393e-06/0.6861, allocations: 0 / 1.121 GB, free: 1.617 MB / 0.8731 GB Notification: Performance of matching and sorting (n=1): time 0.0005032/0.6866, allocations: 370.4 kB / 1.121 GB, free: 1.438 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.6867, allocations: 55.41 kB / 1.121 GB, free: 1.371 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003616/0.6903, allocations: 2.932 MB / 1.124 GB, free: 448 kB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.6903, allocations: 33.64 kB / 1.124 GB, free: 408 kB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008735/0.6912, allocations: 0.9404 MB / 1.125 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.6912, allocations: 13.84 kB / 1.125 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.6914, allocations: 119.2 kB / 1.125 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.6915, allocations: 326.4 kB / 1.125 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002172/0.6917, allocations: 153.7 kB / 1.126 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000425/0.6922, allocations: 468.3 kB / 1.126 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005993/0.6928, allocations: 0.6055 MB / 1.127 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.6928, allocations: 2.688 kB / 1.127 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001027/0.6938, allocations: 0.7757 MB / 1.127 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.6939, allocations: 10.3 kB / 1.127 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.6939, allocations: 15.16 kB / 1.127 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.6939, allocations: 13.31 kB / 1.127 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003008/0.6942, allocations: 105.3 kB / 1.128 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-05/0.6942, allocations: 24.27 kB / 1.128 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006877/0.6949, allocations: 90.62 kB / 1.128 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.695, allocations: 31.16 kB / 1.128 GB, free: 13.8 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.0007979/0.6958, allocations: 0.7408 MB / 1.128 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002142/0.696, allocations: 212.7 kB / 1.129 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000298/0.6963, allocations: 220.2 kB / 1.129 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.6963, allocations: 0 / 1.129 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.6963, allocations: 1.312 kB / 1.129 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.6963, allocations: 0.6094 kB / 1.129 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.6977, allocations: 0.9427 MB / 1.13 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.6977, allocations: 0 / 1.13 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.971e-05/0.6978, allocations: 2.094 kB / 1.13 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.6978, allocations: 4.703 kB / 1.13 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.6978, allocations: 1.125 kB / 1.13 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.6978, allocations: 3.938 kB / 1.13 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.6978, allocations: 5.125 kB / 1.13 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000395/0.6982, allocations: 428.6 kB / 1.13 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005893/0.6988, allocations: 375.2 kB / 1.13 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001786/0.699, allocations: 1.688 kB / 1.13 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003424/0.6993, allocations: 6.266 kB / 1.13 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.056e-05/0.6994, allocations: 1.219 kB / 1.131 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.6994, allocations: 0.5156 kB / 1.131 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002653/0.702, allocations: 2.065 MB / 1.133 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.702, allocations: 1.125 kB / 1.133 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007684/0.7028, allocations: 241.4 kB / 1.133 GB, free: 11.58 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.0003674/0.7032, allocations: 159.2 kB / 1.133 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004667/0.7037, allocations: 312.6 kB / 1.133 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.7037, allocations: 8.062 kB / 1.133 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 6.159e-05/0.7037, allocations: 41.31 kB / 1.133 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002454/0.7062, allocations: 0.7107 MB / 1.134 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004357/0.7106, allocations: 3.391 MB / 1.137 GB, free: 9.605 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00142/0.712, allocations: 1.8 MB / 1.139 GB, free: 8.688 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0007219/0.7127, allocations: 315.8 kB / 1.139 GB, free: 8.633 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.7129, allocations: 94.5 kB / 1.139 GB, free: 8.621 MB / 0.8887 GB Notification: Performance of SimCode: time 6.41e-07/0.7129, allocations: 0 / 1.139 GB, free: 8.621 MB / 0.8887 GB Notification: Performance of Templates: time 0.04434/0.7573, allocations: 24.9 MB / 1.164 GB, free: 14.45 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