Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.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.InfraredRadiationExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|irRadExc.conExt.1..T|irRadExc.conExtWin.1..T|irRadExc.conExtWinFra.1..T|irRadExc.conPar_a.1..T|irRadExc.conPar_b.1..T|irRadExc.conBou.1..T|irRadExc.conSurBou.1..T",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|irRadExc.conExt.1..T|irRadExc.conExtWin.1..T|irRadExc.conExtWinFra.1..T|irRadExc.conPar_a.1..T|irRadExc.conPar_b.1..T|irRadExc.conBou.1..T|irRadExc.conSurBou.1..T",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009517/0.0009517, allocations: 87.03 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.00105/0.00105, 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.553/1.553, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.956/2.956, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003312, allocations: 10.66 kB / 0.9021 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3864, allocations: 159.6 MB / 1.058 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.008172/0.3947, allocations: 6.361 MB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.009255/0.404, allocations: 5.092 MB / 1.069 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001767/0.4058, allocations: 31.81 kB / 1.069 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.005014/0.4108, allocations: 1.365 MB / 1.071 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002447/0.4133, allocations: 0.5432 MB / 1.071 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.4147, allocations: 311.5 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004365/0.4191, allocations: 2.628 MB / 1.074 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001154/0.4202, allocations: 497 kB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002371/0.4226, allocations: 0.9804 MB / 1.075 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002831/0.4255, allocations: 1.534 MB / 1.077 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0009123/0.4264, allocations: 120 kB / 1.077 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001712/0.4281, allocations: 227.8 kB / 1.077 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001297/0.4294, allocations: 0.6191 MB / 1.078 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001053/0.4305, allocations: 440.5 kB / 1.078 GB, free: 500 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0029/0.4334, allocations: 2.549 MB / 1.081 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.4334, allocations: 0 / 1.081 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.063e-06/0.4334, allocations: 3.938 kB / 1.081 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.68e-05/0.4335, allocations: 0 / 1.081 GB, free: 13.93 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.007412/0.4409, allocations: 3.552 MB / 1.084 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 8.078e-05/0.441, allocations: 12.03 kB / 1.084 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000612/0.4416, allocations: 244.9 kB / 1.084 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003291/0.4449, allocations: 1.787 MB / 1.086 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.748e-05/0.445, allocations: 65 kB / 1.086 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001867/0.4452, allocations: 91.94 kB / 1.086 GB, free: 8.055 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.4464, allocations: 0.7129 MB / 1.087 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.4465, allocations: 7.984 kB / 1.087 GB, free: 7.324 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.134e-05/0.4465, allocations: 16 kB / 1.087 GB, free: 7.309 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.4466, allocations: 8 kB / 1.087 GB, free: 7.301 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.4482, allocations: 0.9797 MB / 1.088 GB, free: 6.32 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.01075/0.4589, allocations: 5.096 MB / 1.093 GB, free: 1.082 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/0.4603, allocations: 0.7815 MB / 1.094 GB, free: 300 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006616/0.461, allocations: 0.4889 MB / 1.094 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.976e-05/0.4611, allocations: 8.719 kB / 1.094 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.4611, allocations: 46.5 kB / 1.094 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=44): time 3.116e-06/0.4611, allocations: 0 / 1.094 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=44): time 0.01015/0.4713, allocations: 3.551 MB / 1.098 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.078e-05/0.4714, allocations: 59.36 kB / 1.098 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005187/0.4766, allocations: 2.948 MB / 1.101 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0006234/0.4772, allocations: 49.7 kB / 1.101 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009355/0.4782, allocations: 0.8707 MB / 1.102 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002128/0.4784, allocations: 157.8 kB / 1.102 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.4785, allocations: 28 kB / 1.102 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.4787, allocations: 365.9 kB / 1.102 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002213/0.4809, allocations: 1.366 MB / 1.103 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002383/0.4833, allocations: 1.612 MB / 1.105 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002235/0.4856, allocations: 1.463 MB / 1.106 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.4856, allocations: 4 kB / 1.106 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.008427/0.494, allocations: 4.074 MB / 1.11 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.705e-05/0.4941, allocations: 5.719 kB / 1.11 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.4941, allocations: 0 / 1.11 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003051/0.4972, allocations: 1.105 MB / 1.112 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.4986, allocations: 231.7 kB / 1.112 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01199/0.5106, allocations: 7.347 MB / 1.119 GB, free: 6.266 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002537/0.5132, allocations: 269.9 kB / 1.119 GB, free: 6 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002331/0.5134, allocations: 44 kB / 1.119 GB, free: 5.957 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (126): * Single equations (assignments): 125 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(11,46.3%) 31} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001555/0.515, allocations: 0.794 MB / 1.12 GB, free: 5.152 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003439/0.5153, allocations: 209.2 kB / 1.12 GB, free: 4.945 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004904/0.5158, allocations: 262.7 kB / 1.12 GB, free: 4.68 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.5158, allocations: 8 kB / 1.12 GB, free: 4.672 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.638e-05/0.5159, allocations: 11.95 kB / 1.12 GB, free: 4.66 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.5159, allocations: 0 / 1.12 GB, free: 4.66 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001642/0.5175, allocations: 1.232 MB / 1.122 GB, free: 3.379 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.5176, allocations: 96 / 1.122 GB, free: 3.379 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.982e-05/0.5176, allocations: 7.938 kB / 1.122 GB, free: 3.371 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002738/0.5204, allocations: 1.02 MB / 1.123 GB, free: 2.348 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/0.5204, allocations: 8 kB / 1.123 GB, free: 2.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01119/0.5316, allocations: 7.318 MB / 1.13 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.5317, allocations: 0 / 1.13 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003816/0.5355, allocations: 1.965 MB / 1.132 GB, free: 8.895 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009132/0.5364, allocations: 446 kB / 1.132 GB, free: 8.438 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/0.5366, allocations: 4 kB / 1.132 GB, free: 8.434 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005339/0.5372, allocations: 39.81 kB / 1.132 GB, free: 8.395 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.5373, allocations: 39.94 kB / 1.132 GB, free: 8.355 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.321e-05/0.5373, allocations: 12 kB / 1.132 GB, free: 8.344 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.00319/0.5405, allocations: 2.032 MB / 1.134 GB, free: 6.305 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5406, allocations: 0 / 1.134 GB, free: 6.305 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002004/0.5426, allocations: 0.6219 MB / 1.135 GB, free: 5.684 MB / 0.8887 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 (3): * Single equations (assignments): 2 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(13,43.8%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004707/0.543, allocations: 156.1 kB / 1.135 GB, free: 5.531 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.005447/0.5485, allocations: 2.835 MB / 1.138 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.5485, allocations: 64 / 1.138 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002279/0.5508, allocations: 1.063 MB / 1.139 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003245/0.5541, allocations: 0.6349 MB / 1.139 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007335/0.5614, allocations: 4.542 MB / 1.144 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001518/0.563, allocations: 1.911 MB / 1.146 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001375/0.5644, allocations: 317.7 kB / 1.146 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003853/0.5647, allocations: 87.38 kB / 1.146 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of SimCode: time 1.293e-06/0.5648, allocations: 0 / 1.146 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of Templates: time 0.07601/0.6408, allocations: 38.94 MB / 1.184 GB, free: 3.52 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches