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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001542/0.001542, allocations: 114.3 kB / 16.37 MB, free: 6.008 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.001704/0.001704, allocations: 189 kB / 17.3 MB, free: 5.621 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.169/1.169, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.154/2.154, allocations: 442.6 MB / 0.7165 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 59.91 kB / 0.8773 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2355, allocations: 153 MB / 1.027 GB, free: 2.121 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.007613/0.2432, allocations: 7.876 MB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006029/0.2492, allocations: 5.371 MB / 1.04 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005932/0.2498, allocations: 55.69 kB / 1.04 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.003263/0.2531, allocations: 1.718 MB / 1.041 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001074/0.2543, allocations: 0.6475 MB / 1.042 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006562/0.2549, allocations: 307.4 kB / 1.042 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001709/0.2566, allocations: 2.049 MB / 1.044 GB, free: 28 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006966/0.2573, allocations: 0.684 MB / 1.045 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006553/0.258, allocations: 0.7621 MB / 1.046 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00086/0.2589, allocations: 0.8707 MB / 1.047 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001324/0.259, allocations: 96 kB / 1.047 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003892/0.2594, allocations: 215.8 kB / 1.047 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002941/0.2597, allocations: 366.5 kB / 1.047 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0006845/0.2604, allocations: 0.87 MB / 1.048 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001761/0.2622, allocations: 2.406 MB / 1.05 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2622, allocations: 0 / 1.05 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2622, allocations: 0 / 1.05 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.523e-05/0.2622, allocations: 0 / 1.05 GB, free: 9.73 MB / 0.8262 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.002815/0.265, allocations: 2.343 MB / 1.053 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.2651, allocations: 8.031 kB / 1.053 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002187/0.2653, allocations: 214.2 kB / 1.053 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002359/0.2677, allocations: 1.708 MB / 1.055 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.568e-05/0.2677, allocations: 37 kB / 1.055 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.368e-05/0.2678, allocations: 52 kB / 1.055 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007277/0.2685, allocations: 0.5567 MB / 1.055 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.2685, allocations: 7.984 kB / 1.055 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.689e-05/0.2686, allocations: 20 kB / 1.055 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/0.2686, allocations: 8 kB / 1.055 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006562/0.2693, allocations: 0.4995 MB / 1.056 GB, free: 4.137 MB / 0.8262 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.00372/0.273, allocations: 3.231 MB / 1.059 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.717e-05/0.2731, allocations: 54.59 kB / 1.059 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.84e-05/0.2731, allocations: 56.75 kB / 1.059 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.2732, allocations: 4 kB / 1.059 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.2732, allocations: 34.56 kB / 1.059 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.363e-06/0.2732, allocations: 0 / 1.059 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0004346/0.2736, allocations: 355 kB / 1.059 GB, free: 140 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.2737, allocations: 51.41 kB / 1.059 GB, free: 76 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003069/0.2767, allocations: 2.931 MB / 1.062 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.2768, allocations: 33.7 kB / 1.062 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007311/0.2775, allocations: 0.9309 MB / 1.063 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.222e-05/0.2775, allocations: 19.89 kB / 1.063 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.2777, allocations: 118.1 kB / 1.063 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.2778, allocations: 322 kB / 1.064 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.278, allocations: 156.9 kB / 1.064 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003743/0.2783, allocations: 469.2 kB / 1.064 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005288/0.2789, allocations: 0.5981 MB / 1.065 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.2789, allocations: 4 kB / 1.065 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008848/0.2798, allocations: 0.7684 MB / 1.066 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.2798, allocations: 16.25 kB / 1.066 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.2798, allocations: 12 kB / 1.066 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.2799, allocations: 12 kB / 1.066 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/0.2801, allocations: 107.8 kB / 1.066 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/0.2802, allocations: 23.92 kB / 1.066 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005059/0.2807, allocations: 83.06 kB / 1.066 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.2807, allocations: 32 kB / 1.066 GB, free: 9.125 MB / 0.8419 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.0006649/0.2814, allocations: 0.7469 MB / 1.067 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/0.2816, allocations: 205.3 kB / 1.067 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.2818, allocations: 219.8 kB / 1.067 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2818, allocations: 0 / 1.067 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.2818, allocations: 0 / 1.067 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.2818, allocations: 0 / 1.067 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008668/0.2827, allocations: 0.9392 MB / 1.068 GB, free: 6.953 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2827, allocations: 4 kB / 1.068 GB, free: 6.949 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.2828, allocations: 4 kB / 1.068 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2828, allocations: 0 / 1.068 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.2828, allocations: 7.984 kB / 1.068 GB, free: 6.938 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2828, allocations: 7.922 kB / 1.068 GB, free: 6.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2828, allocations: 3.984 kB / 1.068 GB, free: 6.926 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.2832, allocations: 421.1 kB / 1.068 GB, free: 6.496 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005572/0.2837, allocations: 358.4 kB / 1.069 GB, free: 6.125 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.2839, allocations: 0 / 1.069 GB, free: 6.125 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003142/0.2842, allocations: 7.969 kB / 1.069 GB, free: 6.117 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.883e-05/0.2842, allocations: 4 kB / 1.069 GB, free: 6.113 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.2842, allocations: 0 / 1.069 GB, free: 6.113 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002255/0.2865, allocations: 2.07 MB / 1.071 GB, free: 4.035 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2865, allocations: 0 / 1.071 GB, free: 4.035 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006253/0.2871, allocations: 236 kB / 1.071 GB, free: 3.805 MB / 0.8419 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.000297/0.2874, allocations: 155.3 kB / 1.071 GB, free: 3.656 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004205/0.2879, allocations: 310.2 kB / 1.071 GB, free: 3.355 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.2879, allocations: 4.125 kB / 1.071 GB, free: 3.352 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.399e-05/0.288, allocations: 43.95 kB / 1.071 GB, free: 3.309 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002009/0.29, allocations: 0.7147 MB / 1.072 GB, free: 2.609 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3518/0.6418, allocations: 3.334 MB / 1.075 GB, free: 52.45 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/0.643, allocations: 1.8 MB / 1.077 GB, free: 51.71 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0007827/0.6438, allocations: 314.2 kB / 1.077 GB, free: 51.69 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.644, allocations: 90.31 kB / 1.078 GB, free: 51.68 MB / 0.8419 GB Notification: Performance of SimCode: time 6.31e-07/0.644, allocations: 0 / 1.078 GB, free: 51.68 MB / 0.8419 GB Notification: Performance of Templates: time 0.04103/0.685, allocations: 24.71 MB / 1.102 GB, free: 47.12 MB / 0.8419 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 -s cvode -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/jenkins1/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