Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 113.2 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 206.5 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.612/1.612, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.003/3.003, allocations: 0.49 GB / 0.7923 GB, free: 1.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 67.91 kB / 1.15 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.435/1.437, allocations: 176.1 MB / 1.322 GB, free: 7.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.0108/1.448, allocations: 7.285 MB / 1.329 GB, free: 2.148 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01072/1.459, allocations: 5.592 MB / 1.335 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002883/1.461, allocations: 72.97 kB / 1.335 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.006543/1.468, allocations: 1.701 MB / 1.336 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.003479/1.471, allocations: 0.6369 MB / 1.337 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001749/1.473, allocations: 389.6 kB / 1.337 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.005641/1.479, allocations: 2.949 MB / 1.34 GB, free: 9.883 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008806/1.48, allocations: 390 kB / 1.341 GB, free: 9.715 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003211/1.483, allocations: 1.149 MB / 1.342 GB, free: 9.117 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003369/1.486, allocations: 1.63 MB / 1.343 GB, free: 8.145 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0006506/1.487, allocations: 200.2 kB / 1.344 GB, free: 8.141 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001338/1.488, allocations: 328.5 kB / 1.344 GB, free: 8.07 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0008995/1.489, allocations: 0.7077 MB / 1.345 GB, free: 7.566 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001937/1.491, allocations: 1.208 MB / 1.346 GB, free: 6.73 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.006131/1.497, allocations: 3.699 MB / 1.349 GB, free: 4.328 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.497, allocations: 0 / 1.349 GB, free: 4.328 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.444e-06/1.497, allocations: 4 kB / 1.349 GB, free: 4.324 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001289/1.497, allocations: 3.984 kB / 1.349 GB, free: 4.32 MB / 1.029 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.01169/1.509, allocations: 3.537 MB / 1.353 GB, free: 2.004 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.86e-05/1.509, allocations: 16.09 kB / 1.353 GB, free: 1.996 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000808/1.51, allocations: 256.8 kB / 1.353 GB, free: 1.859 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004713/1.515, allocations: 2.014 MB / 1.355 GB, free: 0.5469 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.882e-05/1.515, allocations: 67.84 kB / 1.355 GB, free: 0.5156 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002392/1.515, allocations: 87.16 kB / 1.355 GB, free: 500 kB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/1.516, allocations: 0.7092 MB / 1.356 GB, free: 108 kB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/1.516, allocations: 0 / 1.356 GB, free: 108 kB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.678e-05/1.517, allocations: 20.09 kB / 1.356 GB, free: 92 kB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/1.517, allocations: 10.38 kB / 1.356 GB, free: 92 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/1.518, allocations: 0.9737 MB / 1.357 GB, free: 15.67 MB / 1.045 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.01334/1.532, allocations: 4.497 MB / 1.361 GB, free: 12.78 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/1.533, allocations: 0.7488 MB / 1.362 GB, free: 12.42 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007256/1.534, allocations: 477.5 kB / 1.362 GB, free: 12.2 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.314e-05/1.534, allocations: 7.688 kB / 1.362 GB, free: 12.2 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/1.534, allocations: 45.94 kB / 1.362 GB, free: 12.14 MB / 1.045 GB Notification: Performance of pre-optimization done (n=44): time 2.845e-06/1.534, allocations: 4 kB / 1.362 GB, free: 12.14 MB / 1.045 GB Notification: Performance of matching and sorting (n=44): time 0.0112/1.545, allocations: 3.45 MB / 1.366 GB, free: 8.848 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.422e-05/1.545, allocations: 55.41 kB / 1.366 GB, free: 8.781 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005865/1.551, allocations: 2.945 MB / 1.369 GB, free: 5.824 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0007668/1.552, allocations: 53.7 kB / 1.369 GB, free: 5.766 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001544/1.553, allocations: 0.8712 MB / 1.37 GB, free: 4.887 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003155/1.554, allocations: 162.6 kB / 1.37 GB, free: 4.727 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001751/1.555, allocations: 335.5 kB / 1.37 GB, free: 4.391 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002325/1.556, allocations: 357.9 kB / 1.37 GB, free: 4.035 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002596/1.558, allocations: 1.374 MB / 1.372 GB, free: 2.66 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003093/1.561, allocations: 1.62 MB / 1.373 GB, free: 1.027 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003416/1.565, allocations: 1.926 MB / 1.375 GB, free: 15.09 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/1.565, allocations: 0 / 1.375 GB, free: 15.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.009321/1.574, allocations: 4.071 MB / 1.379 GB, free: 11 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/1.574, allocations: 4 kB / 1.379 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/1.574, allocations: 0 / 1.379 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00363/1.578, allocations: 1.105 MB / 1.38 GB, free: 9.891 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/1.579, allocations: 227.6 kB / 1.381 GB, free: 9.668 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0144/1.594, allocations: 7.956 MB / 1.388 GB, free: 1.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003217/1.597, allocations: 270.6 kB / 1.389 GB, free: 1.305 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006342/1.598, allocations: 43.94 kB / 1.389 GB, free: 1.262 MB / 1.061 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.002271/1.6, allocations: 0.8056 MB / 1.389 GB, free: 456 kB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008581/1.601, allocations: 222.5 kB / 1.39 GB, free: 232 kB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/1.602, allocations: 254.8 kB / 1.39 GB, free: 15.97 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/1.602, allocations: 4 kB / 1.39 GB, free: 15.96 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-05/1.602, allocations: 8 kB / 1.39 GB, free: 15.96 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/1.602, allocations: 3.984 kB / 1.39 GB, free: 15.95 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003269/1.605, allocations: 1.228 MB / 1.391 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/1.605, allocations: 0 / 1.391 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.307e-05/1.605, allocations: 4 kB / 1.391 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003394/1.608, allocations: 1.023 MB / 1.392 GB, free: 13.65 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.535e-05/1.609, allocations: 7.984 kB / 1.392 GB, free: 13.64 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01407/1.623, allocations: 7.963 MB / 1.4 GB, free: 5.531 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.623, allocations: 0 / 1.4 GB, free: 5.531 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004648/1.627, allocations: 1.935 MB / 1.402 GB, free: 3.574 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001596/1.629, allocations: 459.3 kB / 1.402 GB, free: 3.105 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008316/1.63, allocations: 12 kB / 1.402 GB, free: 3.094 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/1.631, allocations: 27.91 kB / 1.402 GB, free: 3.066 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/1.631, allocations: 35.94 kB / 1.402 GB, free: 3.031 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.822e-05/1.631, allocations: 12.09 kB / 1.402 GB, free: 3.02 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.005104/1.636, allocations: 2.04 MB / 1.404 GB, free: 0.9727 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/1.636, allocations: 4 kB / 1.404 GB, free: 0.9688 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003877/1.64, allocations: 0.6169 MB / 1.405 GB, free: 360 kB / 1.076 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.0006842/1.641, allocations: 159.4 kB / 1.405 GB, free: 204 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.006904/1.648, allocations: 2.526 MB / 1.407 GB, free: 13.66 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/1.648, allocations: 0 / 1.407 GB, free: 13.66 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.00274/1.65, allocations: 1.02 MB / 1.408 GB, free: 12.62 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005017/1.655, allocations: 0.6633 MB / 1.409 GB, free: 11.98 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/1.666, allocations: 4.004 MB / 1.413 GB, free: 7.938 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002638/1.668, allocations: 1.785 MB / 1.415 GB, free: 6.121 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009655/1.669, allocations: 87.44 kB / 1.415 GB, free: 6.039 MB / 1.092 GB Notification: Performance of SimCode: time 1.262e-06/1.669, allocations: 4 kB / 1.415 GB, free: 6.035 MB / 1.092 GB Notification: Performance of Templates: time 0.09239/1.762, allocations: 46.01 MB / 1.46 GB, free: 8.195 MB / 1.139 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & ./Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.288469478997285]