Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001152/0.001152, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001191/0.001191, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.161/1.161, allocations: 222.9 MB / 239.8 MB, free: 4.641 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.209/2.209, allocations: 437 MB / 0.7099 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 63.91 kB / 0.8685 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5209/0.522, allocations: 151.6 MB / 1.017 GB, free: 2.836 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.00704/0.5291, allocations: 7.199 MB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006238/0.5353, allocations: 5.478 MB / 1.029 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005463/0.5359, allocations: 39.81 kB / 1.029 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003244/0.5391, allocations: 1.571 MB / 1.031 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009242/0.5401, allocations: 0.555 MB / 1.031 GB, free: 3.926 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007548/0.5409, allocations: 331.4 kB / 1.031 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002395/0.5433, allocations: 3.128 MB / 1.034 GB, free: 484 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005267/0.5438, allocations: 0.5089 MB / 1.035 GB, free: 15.94 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.5448, allocations: 0.9879 MB / 1.036 GB, free: 14.95 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001378/0.5462, allocations: 1.569 MB / 1.037 GB, free: 13.38 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002728/0.5465, allocations: 128 kB / 1.038 GB, free: 13.25 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005454/0.5471, allocations: 243.8 kB / 1.038 GB, free: 13.01 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000517/0.5476, allocations: 0.6345 MB / 1.038 GB, free: 12.38 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0009777/0.5486, allocations: 1.127 MB / 1.04 GB, free: 11.24 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002262/0.5508, allocations: 3.24 MB / 1.043 GB, free: 7.992 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.5508, allocations: 3.938 kB / 1.043 GB, free: 7.988 MB / 0.795 GB Notification: Performance of FrontEnd: time 6.92e-07/0.5509, allocations: 0 / 1.043 GB, free: 7.988 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.982e-05/0.5509, allocations: 0 / 1.043 GB, free: 7.988 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.005411/0.5563, allocations: 3.347 MB / 1.046 GB, free: 4.57 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.5563, allocations: 15.98 kB / 1.046 GB, free: 4.555 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003381/0.5567, allocations: 241.9 kB / 1.046 GB, free: 4.316 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002463/0.5592, allocations: 1.89 MB / 1.048 GB, free: 2.363 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.13e-05/0.5592, allocations: 65 kB / 1.048 GB, free: 2.301 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/0.5594, allocations: 88 kB / 1.048 GB, free: 2.215 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009714/0.5604, allocations: 0.713 MB / 1.049 GB, free: 1.496 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.5604, allocations: 0 / 1.049 GB, free: 1.496 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.061e-05/0.5604, allocations: 20 kB / 1.049 GB, free: 1.477 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.5605, allocations: 8 kB / 1.049 GB, free: 1.469 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.5618, allocations: 0.9797 MB / 1.05 GB, free: 496 kB / 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.008667/0.5704, allocations: 4.522 MB / 1.054 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.5716, allocations: 0.7809 MB / 1.055 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006024/0.5722, allocations: 0.5026 MB / 1.056 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.865e-05/0.5723, allocations: 7.953 kB / 1.056 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.5723, allocations: 42.44 kB / 1.056 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=44): time 3.667e-06/0.5723, allocations: 3.984 kB / 1.056 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of matching and sorting (n=44): time 0.008413/0.5807, allocations: 3.466 MB / 1.059 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.5808, allocations: 59.41 kB / 1.059 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003266/0.5841, allocations: 2.968 MB / 1.062 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002286/0.5843, allocations: 53.7 kB / 1.062 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000767/0.5851, allocations: 0.8552 MB / 1.063 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.5852, allocations: 169.7 kB / 1.063 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005205/0.5858, allocations: 331.5 kB / 1.063 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.5859, allocations: 361.9 kB / 1.064 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001683/0.5876, allocations: 1.37 MB / 1.065 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001978/0.5896, allocations: 1.624 MB / 1.067 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002357/0.5919, allocations: 1.922 MB / 1.068 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.5919, allocations: 0 / 1.068 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006289/0.5982, allocations: 4.09 MB / 1.072 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.5983, allocations: 4 kB / 1.072 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5983, allocations: 96 / 1.072 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002838/0.6011, allocations: 1.109 MB / 1.074 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009958/0.6021, allocations: 227.7 kB / 1.074 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009809/0.6119, allocations: 7.288 MB / 1.081 GB, free: 328 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/0.6136, allocations: 258.1 kB / 1.081 GB, free: 68 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/0.6137, allocations: 43.98 kB / 1.081 GB, free: 24 kB / 0.8262 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(11,31,46.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001026/0.6147, allocations: 0.7984 MB / 1.082 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002159/0.615, allocations: 217 kB / 1.082 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003508/0.6153, allocations: 254.7 kB / 1.082 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.6153, allocations: 8 kB / 1.082 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.88e-05/0.6154, allocations: 11.98 kB / 1.082 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.6154, allocations: 0 / 1.082 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.6166, allocations: 1.228 MB / 1.084 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.6166, allocations: 7.938 kB / 1.084 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.114e-05/0.6167, allocations: 4 kB / 1.084 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002702/0.6194, allocations: 1.023 MB / 1.085 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.413e-05/0.6194, allocations: 8 kB / 1.085 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009878/0.6293, allocations: 7.263 MB / 1.092 GB, free: 4.988 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6293, allocations: 4 kB / 1.092 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00345/0.6328, allocations: 1.945 MB / 1.094 GB, free: 3.016 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007524/0.6336, allocations: 453.9 kB / 1.094 GB, free: 2.551 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002994/0.6339, allocations: 12 kB / 1.094 GB, free: 2.539 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006648/0.6345, allocations: 35.81 kB / 1.094 GB, free: 2.504 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.6347, allocations: 39.88 kB / 1.094 GB, free: 2.465 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/0.6347, allocations: 12 kB / 1.094 GB, free: 2.453 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.003089/0.6378, allocations: 2.055 MB / 1.096 GB, free: 400 kB / 0.8419 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6378, allocations: 4 kB / 1.096 GB, free: 396 kB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001586/0.6394, allocations: 0.6093 MB / 1.097 GB, free: 15.77 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(13,29,43.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003784/0.6398, allocations: 165.9 kB / 1.097 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.004649/0.6444, allocations: 2.811 MB / 1.1 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.6445, allocations: 0 / 1.1 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001963/0.6464, allocations: 1.044 MB / 1.101 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002395/0.6488, allocations: 0.6238 MB / 1.101 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00573/0.6546, allocations: 4.665 MB / 1.106 GB, free: 6.422 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001611/0.6562, allocations: 1.915 MB / 1.108 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0008845/0.6571, allocations: 329.5 kB / 1.108 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003727/0.6575, allocations: 87.44 kB / 1.108 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of SimCode: time 4.61e-07/0.6575, allocations: 0 / 1.108 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of Templates: time 0.05587/0.7134, allocations: 40.76 MB / 1.148 GB, free: 11.71 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.makefile (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & ./Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches