Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) 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: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|radTem.TRad",fileNamePrefix="Buildings_latest_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_latest_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.001136/0.001136, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.184/1.184, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.397/2.397, allocations: 472.6 MB / 0.7451 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 69.44 kB / 0.9121 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2463, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.007793/0.2541, allocations: 7.862 MB / 1.076 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006503/0.2606, allocations: 5.379 MB / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007542/0.2614, allocations: 43.81 kB / 1.081 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003469/0.2649, allocations: 1.714 MB / 1.083 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001136/0.2661, allocations: 0.6552 MB / 1.084 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006846/0.2668, allocations: 291.5 kB / 1.084 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001596/0.2684, allocations: 2.038 MB / 1.086 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006803/0.2691, allocations: 0.6918 MB / 1.086 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005608/0.2696, allocations: 0.7582 MB / 1.087 GB, free: 6.844 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008034/0.2705, allocations: 0.8746 MB / 1.088 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001542/0.2706, allocations: 96 kB / 1.088 GB, free: 5.871 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004258/0.2711, allocations: 219.8 kB / 1.088 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002792/0.2713, allocations: 374.3 kB / 1.089 GB, free: 5.289 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0006672/0.272, allocations: 0.8739 MB / 1.09 GB, free: 4.41 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00169/0.2737, allocations: 2.39 MB / 1.092 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.2737, allocations: 0 / 1.092 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.535e-06/0.2737, allocations: 0 / 1.092 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.516e-05/0.2738, allocations: 3.938 kB / 1.092 GB, free: 2.008 MB / 0.8419 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.002537/0.2763, allocations: 2.346 MB / 1.094 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.2763, allocations: 12.03 kB / 1.094 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00022/0.2766, allocations: 210.3 kB / 1.094 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001899/0.2785, allocations: 1.614 MB / 1.096 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.2785, allocations: 37 kB / 1.096 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-05/0.2786, allocations: 56 kB / 1.096 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007239/0.2793, allocations: 0.5607 MB / 1.097 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.2793, allocations: 0 / 1.097 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.822e-05/0.2794, allocations: 20 kB / 1.097 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.2794, allocations: 12 kB / 1.097 GB, free: 13 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006544/0.28, allocations: 0.4957 MB / 1.097 GB, free: 12.51 MB / 0.8575 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.003498/0.2835, allocations: 3.259 MB / 1.1 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.065e-05/0.2836, allocations: 70.39 kB / 1.1 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.322e-05/0.2837, allocations: 44.88 kB / 1.1 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.2837, allocations: 0 / 1.1 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.2837, allocations: 34.56 kB / 1.1 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.2837, allocations: 0 / 1.1 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0004235/0.2842, allocations: 355 kB / 1.101 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.2842, allocations: 55.41 kB / 1.101 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003027/0.2872, allocations: 2.962 MB / 1.104 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.2873, allocations: 29.7 kB / 1.104 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007888/0.2881, allocations: 0.9386 MB / 1.105 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.2881, allocations: 11.91 kB / 1.105 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.2882, allocations: 118 kB / 1.105 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.2883, allocations: 326 kB / 1.105 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.2885, allocations: 153.1 kB / 1.105 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003787/0.2889, allocations: 473.2 kB / 1.106 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005455/0.2895, allocations: 0.6019 MB / 1.106 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.2895, allocations: 4 kB / 1.106 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008936/0.2904, allocations: 0.7603 MB / 1.107 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.2904, allocations: 8 kB / 1.107 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.2904, allocations: 12 kB / 1.107 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.2904, allocations: 16 kB / 1.107 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002817/0.2907, allocations: 108.5 kB / 1.107 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.255e-05/0.2908, allocations: 19.94 kB / 1.107 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004671/0.2912, allocations: 94.95 kB / 1.107 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.2913, allocations: 31.94 kB / 1.107 GB, free: 1.434 MB / 0.8575 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.0006652/0.2919, allocations: 0.7406 MB / 1.108 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/0.2921, allocations: 201.4 kB / 1.108 GB, free: 496 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002435/0.2924, allocations: 227.8 kB / 1.108 GB, free: 260 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2924, allocations: 0 / 1.108 GB, free: 260 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2924, allocations: 0 / 1.108 GB, free: 260 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.2924, allocations: 0 / 1.108 GB, free: 260 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008901/0.2933, allocations: 0.947 MB / 1.109 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2933, allocations: 0 / 1.109 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.885e-05/0.2933, allocations: 4 kB / 1.109 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2934, allocations: 0 / 1.109 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.2934, allocations: 0 / 1.109 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.2934, allocations: 0 / 1.109 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.2934, allocations: 0 / 1.109 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003439/0.2937, allocations: 429 kB / 1.11 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004164/0.2941, allocations: 366.4 kB / 1.11 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.2943, allocations: 4 kB / 1.11 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003064/0.2946, allocations: 3.984 kB / 1.11 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.512e-05/0.2946, allocations: 0 / 1.11 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.2947, allocations: 0 / 1.11 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002238/0.2969, allocations: 2.082 MB / 1.112 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2969, allocations: 4.031 kB / 1.112 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000617/0.2975, allocations: 243.8 kB / 1.112 GB, free: 12.1 MB / 0.8731 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.0002863/0.2978, allocations: 148.6 kB / 1.113 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003856/0.2982, allocations: 314.2 kB / 1.113 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2982, allocations: 0 / 1.113 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 5.939e-05/0.2983, allocations: 39.95 kB / 1.113 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0021/0.3004, allocations: 0.7266 MB / 1.114 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003421/0.3038, allocations: 3.378 MB / 1.117 GB, free: 7.473 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/0.305, allocations: 1.8 MB / 1.119 GB, free: 5.637 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005824/0.3056, allocations: 305.3 kB / 1.119 GB, free: 5.332 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.3057, allocations: 91.44 kB / 1.119 GB, free: 5.242 MB / 0.8731 GB Notification: Performance of SimCode: time 3.1e-07/0.3057, allocations: 0 / 1.119 GB, free: 5.242 MB / 0.8731 GB Notification: Performance of Templates: time 0.03503/0.3408, allocations: 24.83 MB / 1.143 GB, free: 12.8 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches