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.001134/0.001134, 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.00119/0.00119, allocations: 193.6 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.174/1.174, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.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.229/2.229, allocations: 437 MB / 0.7103 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 63.91 kB / 0.8692 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5257/0.5268, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.007963/0.5348, allocations: 7.845 MB / 1.025 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006383/0.5412, allocations: 5.398 MB / 1.03 GB, free: 5.211 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.5423, allocations: 47.81 kB / 1.03 GB, free: 5.164 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003841/0.5461, allocations: 1.71 MB / 1.032 GB, free: 3.445 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001421/0.5476, allocations: 0.6475 MB / 1.033 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007533/0.5484, allocations: 299.4 kB / 1.033 GB, free: 2.5 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001779/0.5502, allocations: 2.033 MB / 1.035 GB, free: 472 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006561/0.5508, allocations: 0.6996 MB / 1.036 GB, free: 15.74 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006028/0.5514, allocations: 0.7582 MB / 1.036 GB, free: 14.98 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007803/0.5522, allocations: 0.8708 MB / 1.037 GB, free: 14.11 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.5524, allocations: 96 kB / 1.037 GB, free: 14.01 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004137/0.5528, allocations: 215.8 kB / 1.037 GB, free: 13.8 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002713/0.5531, allocations: 374.5 kB / 1.038 GB, free: 13.43 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0006325/0.5537, allocations: 0.8739 MB / 1.039 GB, free: 12.55 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001637/0.5554, allocations: 2.398 MB / 1.041 GB, free: 10.15 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.5554, allocations: 0 / 1.041 GB, free: 10.15 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5554, allocations: 0 / 1.041 GB, free: 10.15 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.51e-05/0.5554, allocations: 0 / 1.041 GB, free: 10.15 MB / 0.795 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.002575/0.558, allocations: 2.346 MB / 1.043 GB, free: 7.734 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.558, allocations: 15.98 kB / 1.043 GB, free: 7.719 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002161/0.5582, allocations: 214.2 kB / 1.043 GB, free: 7.508 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001874/0.5601, allocations: 1.615 MB / 1.045 GB, free: 5.824 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.5601, allocations: 37 kB / 1.045 GB, free: 5.785 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.565e-05/0.5602, allocations: 60 kB / 1.045 GB, free: 5.727 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007056/0.5609, allocations: 0.5529 MB / 1.046 GB, free: 5.168 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.5609, allocations: 0 / 1.046 GB, free: 5.168 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.619e-05/0.561, allocations: 16 kB / 1.046 GB, free: 5.152 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.561, allocations: 12 kB / 1.046 GB, free: 5.141 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006302/0.5616, allocations: 0.4957 MB / 1.046 GB, free: 4.648 MB / 0.795 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.003401/0.565, allocations: 3.27 MB / 1.049 GB, free: 1.133 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.474e-05/0.5651, allocations: 54.53 kB / 1.049 GB, free: 1.07 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.904e-05/0.5652, allocations: 44.88 kB / 1.049 GB, free: 1.023 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.5652, allocations: 0 / 1.049 GB, free: 1.023 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.5652, allocations: 34.56 kB / 1.049 GB, free: 0.9805 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 1.933e-06/0.5652, allocations: 4 kB / 1.05 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0004168/0.5657, allocations: 362.8 kB / 1.05 GB, free: 0.6133 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.5657, allocations: 51.41 kB / 1.05 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002936/0.5686, allocations: 2.954 MB / 1.053 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.5687, allocations: 29.7 kB / 1.053 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.00071/0.5694, allocations: 0.9347 MB / 1.054 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.165e-05/0.5694, allocations: 11.94 kB / 1.054 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.5695, allocations: 118 kB / 1.054 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.866e-05/0.5696, allocations: 330.1 kB / 1.054 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.5698, allocations: 149 kB / 1.054 GB, free: 12 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003533/0.5702, allocations: 473.2 kB / 1.055 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005174/0.5707, allocations: 0.6058 MB / 1.055 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.5707, allocations: 4 kB / 1.055 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008534/0.5716, allocations: 0.7601 MB / 1.056 GB, free: 9.859 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.5716, allocations: 12 kB / 1.056 GB, free: 9.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.5716, allocations: 8.906 kB / 1.056 GB, free: 9.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.5716, allocations: 16 kB / 1.056 GB, free: 9.824 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.5719, allocations: 107.8 kB / 1.056 GB, free: 9.719 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/0.5719, allocations: 23.88 kB / 1.056 GB, free: 9.695 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004705/0.5724, allocations: 90.95 kB / 1.056 GB, free: 9.605 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.5725, allocations: 28 kB / 1.056 GB, free: 9.578 MB / 0.8106 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.0006427/0.5731, allocations: 0.7431 MB / 1.057 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.5733, allocations: 201.4 kB / 1.057 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002358/0.5735, allocations: 219.8 kB / 1.057 GB, free: 8.402 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.5735, allocations: 0 / 1.057 GB, free: 8.402 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.5735, allocations: 0 / 1.057 GB, free: 8.402 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-06/0.5735, allocations: 0 / 1.057 GB, free: 8.402 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008341/0.5744, allocations: 0.9509 MB / 1.058 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.5744, allocations: 0 / 1.058 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.947e-05/0.5744, allocations: 7.984 kB / 1.058 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.5744, allocations: 0 / 1.058 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.5745, allocations: 3.938 kB / 1.058 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.5745, allocations: 4 kB / 1.058 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5745, allocations: 0 / 1.058 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.5748, allocations: 421.1 kB / 1.059 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003966/0.5752, allocations: 362.4 kB / 1.059 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/0.5754, allocations: 8 kB / 1.059 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000303/0.5757, allocations: 3.984 kB / 1.059 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.821e-05/0.5757, allocations: 0 / 1.059 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.5757, allocations: 4.031 kB / 1.059 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002155/0.5779, allocations: 2.082 MB / 1.061 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5779, allocations: 0 / 1.061 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006173/0.5785, allocations: 243.8 kB / 1.061 GB, free: 4.238 MB / 0.8106 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.0002977/0.5788, allocations: 157.2 kB / 1.062 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003924/0.5792, allocations: 313.4 kB / 1.062 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5792, allocations: 0.875 kB / 1.062 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.417e-05/0.5793, allocations: 43.95 kB / 1.062 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002052/0.5813, allocations: 0.7107 MB / 1.063 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003395/0.5847, allocations: 3.386 MB / 1.066 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/0.5858, allocations: 1.8 MB / 1.068 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0005727/0.5864, allocations: 309.2 kB / 1.068 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.5866, allocations: 87.44 kB / 1.068 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.5866, allocations: 0 / 1.068 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of Templates: time 0.03346/0.62, allocations: 24.83 MB / 1.092 GB, free: 4.965 MB / 0.8419 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