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: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|radTem.TRad",fileNamePrefix="Buildings_10_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_10_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.004932/0.004932, allocations: 106.8 kB / 15.74 MB, free: 6.023 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.001204/0.001204, allocations: 188.3 kB / 16.67 MB, free: 5.941 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.199/1.199, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.162/2.162, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 67.89 kB / 1.019 GB, free: 9.301 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6313/0.6324, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.007681/0.6401, allocations: 7.853 MB / 1.174 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006461/0.6466, allocations: 5.385 MB / 1.18 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006739/0.6473, allocations: 51.69 kB / 1.18 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003392/0.6507, allocations: 1.717 MB / 1.181 GB, free: 4.773 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001021/0.6518, allocations: 0.6669 MB / 1.182 GB, free: 4.102 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006587/0.6525, allocations: 291.5 kB / 1.182 GB, free: 3.816 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001781/0.6543, allocations: 2.045 MB / 1.184 GB, free: 1.762 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007126/0.655, allocations: 0.6957 MB / 1.185 GB, free: 1.047 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006723/0.6557, allocations: 0.7543 MB / 1.186 GB, free: 292 kB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008942/0.6566, allocations: 0.8707 MB / 1.187 GB, free: 15.41 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001539/0.6567, allocations: 92 kB / 1.187 GB, free: 15.32 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004367/0.6572, allocations: 219.8 kB / 1.187 GB, free: 15.11 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003017/0.6575, allocations: 366.5 kB / 1.187 GB, free: 14.75 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006854/0.6582, allocations: 0.8739 MB / 1.188 GB, free: 13.87 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002264/0.6604, allocations: 2.634 MB / 1.191 GB, free: 11.22 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.6605, allocations: 0 / 1.191 GB, free: 11.22 MB / 0.92 GB Notification: Performance of FrontEnd: time 7.704e-06/0.6605, allocations: 0 / 1.191 GB, free: 11.22 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.799e-05/0.6605, allocations: 0 / 1.191 GB, free: 11.22 MB / 0.92 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.002765/0.6633, allocations: 2.482 MB / 1.193 GB, free: 8.668 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.6633, allocations: 12.03 kB / 1.193 GB, free: 8.656 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002467/0.6636, allocations: 223.5 kB / 1.193 GB, free: 8.438 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002168/0.6657, allocations: 1.73 MB / 1.195 GB, free: 6.641 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/0.6658, allocations: 37 kB / 1.195 GB, free: 6.605 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.387e-05/0.6658, allocations: 52 kB / 1.195 GB, free: 6.555 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007495/0.6666, allocations: 0.5568 MB / 1.196 GB, free: 5.992 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.6666, allocations: 4 kB / 1.196 GB, free: 5.988 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.213e-05/0.6667, allocations: 20 kB / 1.196 GB, free: 5.969 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.6667, allocations: 12 kB / 1.196 GB, free: 5.957 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006574/0.6673, allocations: 0.4957 MB / 1.196 GB, free: 5.461 MB / 0.92 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.003614/0.671, allocations: 3.229 MB / 1.199 GB, free: 1.992 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.539e-05/0.6711, allocations: 70.47 kB / 1.199 GB, free: 1.914 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.857e-05/0.6711, allocations: 44.88 kB / 1.199 GB, free: 1.867 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.6711, allocations: 0 / 1.199 GB, free: 1.867 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.6712, allocations: 30.56 kB / 1.199 GB, free: 1.828 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.6712, allocations: 0 / 1.199 GB, free: 1.828 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0004532/0.6716, allocations: 368.1 kB / 1.2 GB, free: 1.461 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.6717, allocations: 59.45 kB / 1.2 GB, free: 1.391 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003097/0.6748, allocations: 2.935 MB / 1.203 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.6748, allocations: 29.7 kB / 1.203 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007578/0.6756, allocations: 0.9435 MB / 1.204 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.335e-05/0.6756, allocations: 11.94 kB / 1.204 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.6757, allocations: 118.1 kB / 1.204 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.6758, allocations: 329.9 kB / 1.204 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.676, allocations: 153 kB / 1.204 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003856/0.6764, allocations: 469.2 kB / 1.205 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005469/0.677, allocations: 0.6097 MB / 1.205 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.677, allocations: 4 kB / 1.205 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009014/0.6779, allocations: 0.7735 MB / 1.206 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.6779, allocations: 11.98 kB / 1.206 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.6779, allocations: 12 kB / 1.206 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.678, allocations: 12 kB / 1.206 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002795/0.6783, allocations: 107.8 kB / 1.206 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/0.6783, allocations: 19.92 kB / 1.206 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004919/0.6788, allocations: 99.62 kB / 1.206 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.6788, allocations: 31.98 kB / 1.206 GB, free: 10.41 MB / 0.9356 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.0006777/0.6795, allocations: 0.7391 MB / 1.207 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.6797, allocations: 210.6 kB / 1.207 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002563/0.68, allocations: 231.7 kB / 1.207 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.68, allocations: 0 / 1.207 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.68, allocations: 4 kB / 1.207 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.68, allocations: 0 / 1.207 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009007/0.6809, allocations: 0.9431 MB / 1.208 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.6809, allocations: 0 / 1.208 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.412e-05/0.6809, allocations: 0 / 1.208 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.6809, allocations: 0 / 1.208 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.681, allocations: 0 / 1.208 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.681, allocations: 0 / 1.208 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.681, allocations: 4 kB / 1.208 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003627/0.6813, allocations: 438.2 kB / 1.209 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004217/0.6818, allocations: 371.6 kB / 1.209 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.6819, allocations: 0 / 1.209 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003139/0.6822, allocations: 4 kB / 1.209 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.688e-05/0.6823, allocations: 0 / 1.209 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.6823, allocations: 3.984 kB / 1.209 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002299/0.6846, allocations: 2.058 MB / 1.211 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6846, allocations: 0 / 1.211 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006124/0.6852, allocations: 247.8 kB / 1.211 GB, free: 5.07 MB / 0.9356 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.0003269/0.6855, allocations: 158.9 kB / 1.212 GB, free: 4.91 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004153/0.686, allocations: 304.9 kB / 1.212 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.686, allocations: 3.938 kB / 1.212 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.599e-05/0.686, allocations: 43.95 kB / 1.212 GB, free: 4.566 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002233/0.6883, allocations: 0.7175 MB / 1.213 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004349/0.6926, allocations: 3.394 MB / 1.216 GB, free: 440 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001672/0.6943, allocations: 1.811 MB / 1.218 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0007052/0.695, allocations: 309.3 kB / 1.218 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.6952, allocations: 91.44 kB / 1.218 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.6952, allocations: 0 / 1.218 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of Templates: time 0.03556/0.7308, allocations: 24.92 MB / 1.242 GB, free: 5.672 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.makefile (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 & ./Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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