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.00101/0.00101, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001345/0.001345, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.009/3.009, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003888/0.0003889, allocations: 15.09 kB / 0.9021 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3534, allocations: 159.6 MB / 1.058 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.007924/0.3614, allocations: 6.935 MB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.007848/0.3693, allocations: 4.908 MB / 1.07 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.3706, allocations: 39.75 kB / 1.07 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004043/0.3746, allocations: 1.384 MB / 1.071 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002057/0.3767, allocations: 0.5859 MB / 1.072 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000847/0.3776, allocations: 235.6 kB / 1.072 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002756/0.3803, allocations: 1.947 MB / 1.074 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008245/0.3812, allocations: 0.5894 MB / 1.074 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009693/0.3821, allocations: 0.6647 MB / 1.075 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.3832, allocations: 0.8165 MB / 1.076 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.3833, allocations: 68 kB / 1.076 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005151/0.3838, allocations: 179.8 kB / 1.076 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003196/0.3842, allocations: 322.6 kB / 1.076 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003926/0.3846, allocations: 388.6 kB / 1.077 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001827/0.3864, allocations: 1.785 MB / 1.078 GB, free: 432 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3864, allocations: 0 / 1.078 GB, free: 432 kB / 0.8262 GB Notification: Performance of FrontEnd: time 3.597e-06/0.3864, allocations: 0 / 1.078 GB, free: 432 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.066e-05/0.3865, allocations: 0 / 1.078 GB, free: 432 kB / 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.003268/0.3898, allocations: 2.036 MB / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.3898, allocations: 8.031 kB / 1.08 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002852/0.3901, allocations: 217.3 kB / 1.081 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002303/0.3924, allocations: 1.502 MB / 1.082 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.168e-05/0.3925, allocations: 44.95 kB / 1.082 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.978e-05/0.3926, allocations: 52 kB / 1.082 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009104/0.3935, allocations: 0.549 MB / 1.083 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.3935, allocations: 0 / 1.083 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.716e-05/0.3935, allocations: 20 kB / 1.083 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.3936, allocations: 15.98 kB / 1.083 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007662/0.3943, allocations: 0.4918 MB / 1.083 GB, free: 11.35 MB / 0.8419 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.004351/0.3987, allocations: 3.294 MB / 1.086 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.481e-05/0.3988, allocations: 58.53 kB / 1.086 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.334e-05/0.3989, allocations: 40.89 kB / 1.086 GB, free: 7.695 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.3989, allocations: 8 kB / 1.086 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.3989, allocations: 34.55 kB / 1.087 GB, free: 7.645 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 2.645e-06/0.3989, allocations: 3.984 kB / 1.087 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0005213/0.3995, allocations: 354.9 kB / 1.087 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.3995, allocations: 51.53 kB / 1.087 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003798/0.4033, allocations: 2.939 MB / 1.09 GB, free: 4.27 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.4034, allocations: 25.7 kB / 1.09 GB, free: 4.238 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009095/0.4043, allocations: 0.9386 MB / 1.091 GB, free: 3.293 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.4043, allocations: 11.89 kB / 1.091 GB, free: 3.281 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.878e-05/0.4043, allocations: 8 kB / 1.091 GB, free: 3.273 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.4045, allocations: 333.9 kB / 1.091 GB, free: 2.941 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.4047, allocations: 149 kB / 1.091 GB, free: 2.793 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004611/0.4052, allocations: 469.2 kB / 1.092 GB, free: 2.191 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/0.4055, allocations: 239.7 kB / 1.092 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.4055, allocations: 7.938 kB / 1.092 GB, free: 1.949 MB / 0.8419 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001142/0.4067, allocations: 0.7523 MB / 1.093 GB, free: 1.188 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.4067, allocations: 8.938 kB / 1.093 GB, free: 1.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.4067, allocations: 12 kB / 1.093 GB, free: 1.168 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.042e-05/0.4068, allocations: 16 kB / 1.093 GB, free: 1.152 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003334/0.4071, allocations: 107.8 kB / 1.093 GB, free: 1.047 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.306e-05/0.4072, allocations: 19.94 kB / 1.093 GB, free: 1.027 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007099/0.4079, allocations: 94.95 kB / 1.093 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.156e-05/0.4079, allocations: 28 kB / 1.093 GB, free: 0.9062 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009916/0.4089, allocations: 0.7392 MB / 1.094 GB, free: 160 kB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002446/0.4092, allocations: 205.4 kB / 1.094 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003061/0.4095, allocations: 219.7 kB / 1.094 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.4095, allocations: 4 kB / 1.094 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.4095, allocations: 0 / 1.094 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.4095, allocations: 0 / 1.094 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.4107, allocations: 0.947 MB / 1.095 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4107, allocations: 0 / 1.095 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.356e-05/0.4108, allocations: 7.938 kB / 1.095 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.4108, allocations: 7.938 kB / 1.095 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.4108, allocations: 4 kB / 1.095 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4108, allocations: 0 / 1.095 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4108, allocations: 0 / 1.095 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004256/0.4112, allocations: 425.1 kB / 1.095 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005058/0.4118, allocations: 366.4 kB / 1.096 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.4119, allocations: 0 / 1.096 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003151/0.4122, allocations: 8.031 kB / 1.096 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.689e-05/0.4123, allocations: 0 / 1.096 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.4123, allocations: 0 / 1.096 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002904/0.4152, allocations: 2.058 MB / 1.098 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4152, allocations: 0 / 1.098 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000861/0.4161, allocations: 247.8 kB / 1.098 GB, free: 11.59 MB / 0.8575 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004034/0.4165, allocations: 159.7 kB / 1.098 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004771/0.417, allocations: 301.9 kB / 1.098 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.417, allocations: 4.438 kB / 1.098 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.366e-05/0.417, allocations: 47.89 kB / 1.098 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002404/0.4195, allocations: 0.6679 MB / 1.099 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005407/0.4249, allocations: 3.645 MB / 1.103 GB, free: 6.734 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001453/0.4263, allocations: 1.804 MB / 1.104 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0009867/0.4273, allocations: 293.3 kB / 1.105 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.4275, allocations: 87.44 kB / 1.105 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of SimCode: time 1.483e-06/0.4276, allocations: 8 kB / 1.105 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of Templates: time 0.04417/0.4717, allocations: 23.12 MB / 1.127 GB, free: 13.77 MB / 0.8887 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