Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.004621/0.004621, allocations: 97.3 kB / 15.73 MB, free: 5.547 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.001112/0.001112, allocations: 191.9 kB / 16.67 MB, free: 5.48 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.2/1.2, 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 11.1.0-maint.11.x/package.mo): time 2.342/2.342, allocations: 469.8 MB / 0.7425 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 63.91 kB / 1.065 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6652/0.6663, allocations: 159.1 MB / 1.221 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.007537/0.6738, allocations: 7.887 MB / 1.228 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006261/0.6801, allocations: 5.397 MB / 1.234 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006501/0.6807, allocations: 55.69 kB / 1.234 GB, free: 4.711 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003332/0.684, allocations: 1.723 MB / 1.235 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001342/0.6854, allocations: 0.6669 MB / 1.236 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008229/0.6862, allocations: 295.5 kB / 1.236 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001996/0.6882, allocations: 2.054 MB / 1.238 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006421/0.6888, allocations: 0.5006 MB / 1.239 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007521/0.6896, allocations: 0.7816 MB / 1.24 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009705/0.6906, allocations: 0.8746 MB / 1.241 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001466/0.6907, allocations: 92 kB / 1.241 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004451/0.6912, allocations: 215.8 kB / 1.241 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003448/0.6915, allocations: 374.3 kB / 1.241 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007214/0.6922, allocations: 0.8739 MB / 1.242 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002314/0.6945, allocations: 2.642 MB / 1.245 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6945, allocations: 0 / 1.245 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6945, allocations: 0 / 1.245 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.838e-05/0.6946, allocations: 0 / 1.245 GB, free: 9.566 MB / 0.9669 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.002665/0.6972, allocations: 2.475 MB / 1.247 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.6973, allocations: 8.625 kB / 1.247 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002183/0.6975, allocations: 223.5 kB / 1.247 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002108/0.6996, allocations: 1.73 MB / 1.249 GB, free: 5 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.6996, allocations: 37 kB / 1.249 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-05/0.6997, allocations: 55.94 kB / 1.249 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000725/0.7004, allocations: 0.5529 MB / 1.25 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.7004, allocations: 0 / 1.25 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.253e-05/0.7005, allocations: 20 kB / 1.25 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.7005, allocations: 16 kB / 1.25 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006456/0.7011, allocations: 0.4957 MB / 1.25 GB, free: 3.82 MB / 0.9669 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.003407/0.7045, allocations: 3.244 MB / 1.253 GB, free: 344 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.59e-05/0.7046, allocations: 62.53 kB / 1.253 GB, free: 272 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.506e-05/0.7047, allocations: 44.89 kB / 1.253 GB, free: 224 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.7047, allocations: 3.984 kB / 1.253 GB, free: 220 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.7047, allocations: 30.56 kB / 1.253 GB, free: 180 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.7047, allocations: 0 / 1.253 GB, free: 180 kB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0004428/0.7051, allocations: 372.1 kB / 1.254 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.7052, allocations: 51.41 kB / 1.254 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002983/0.7082, allocations: 2.931 MB / 1.257 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.7082, allocations: 37.7 kB / 1.257 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007255/0.7089, allocations: 0.9395 MB / 1.258 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.319e-05/0.7089, allocations: 15.94 kB / 1.258 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.709, allocations: 122.1 kB / 1.258 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.187e-05/0.7091, allocations: 322 kB / 1.258 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.7093, allocations: 157 kB / 1.258 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003652/0.7097, allocations: 473.2 kB / 1.259 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005205/0.7102, allocations: 0.5981 MB / 1.259 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.7102, allocations: 4 kB / 1.259 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000867/0.7111, allocations: 0.7736 MB / 1.26 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.7111, allocations: 12 kB / 1.26 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.7111, allocations: 12 kB / 1.26 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.7111, allocations: 12 kB / 1.26 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/0.7114, allocations: 103.8 kB / 1.26 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.76e-05/0.7114, allocations: 23.92 kB / 1.26 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005043/0.7119, allocations: 95.5 kB / 1.26 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.712, allocations: 28 kB / 1.26 GB, free: 8.773 MB / 0.9825 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.0006586/0.7126, allocations: 0.7397 MB / 1.261 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.7128, allocations: 214.6 kB / 1.261 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/0.7131, allocations: 219.8 kB / 1.261 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.7131, allocations: 0 / 1.261 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.7131, allocations: 0 / 1.261 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-06/0.7131, allocations: 4 kB / 1.261 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008497/0.7139, allocations: 0.9431 MB / 1.262 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.7139, allocations: 4 kB / 1.262 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.764e-05/0.714, allocations: 3.938 kB / 1.262 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.714, allocations: 0 / 1.262 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.714, allocations: 0 / 1.262 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.714, allocations: 0 / 1.262 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.714, allocations: 3.984 kB / 1.262 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003306/0.7143, allocations: 434.3 kB / 1.263 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004146/0.7147, allocations: 371.6 kB / 1.263 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/0.7149, allocations: 3.938 kB / 1.263 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003174/0.7152, allocations: 0 / 1.263 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.929e-05/0.7152, allocations: 8 kB / 1.263 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.7152, allocations: 0 / 1.263 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002194/0.7174, allocations: 2.058 MB / 1.265 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.7174, allocations: 0 / 1.265 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007117/0.7181, allocations: 247.8 kB / 1.265 GB, free: 3.438 MB / 0.9825 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.0003048/0.7184, allocations: 163.3 kB / 1.265 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003913/0.7188, allocations: 305.4 kB / 1.266 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7188, allocations: 0 / 1.266 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.494e-05/0.7189, allocations: 39.97 kB / 1.266 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002039/0.7209, allocations: 0.7169 MB / 1.267 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00378/0.7247, allocations: 3.406 MB / 1.27 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/0.7258, allocations: 1.804 MB / 1.272 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006132/0.7264, allocations: 313.3 kB / 1.272 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.7266, allocations: 91.44 kB / 1.272 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/0.7266, allocations: 0 / 1.272 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of Templates: time 0.03475/0.7613, allocations: 25.01 MB / 1.296 GB, free: 3.938 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.makefile (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.sim & ./Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches