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.001525/0.001525, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001676/0.001676, allocations: 220 kB / 23.04 MB, free: 4.844 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.577/1.577, allocations: 230.6 MB / 256.8 MB, free: 7.746 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.353/3.353, allocations: 0.49 GB / 0.7959 GB, free: 35.36 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.002055/0.002055, allocations: 66.45 kB / 1.155 GB, free: 25.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4654/0.4675, allocations: 176.1 MB / 1.327 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.01374/0.4812, allocations: 6.408 MB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01404/0.4953, allocations: 5.068 MB / 1.338 GB, free: 5.309 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003469/0.4987, allocations: 71.44 kB / 1.339 GB, free: 5.238 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.009421/0.5082, allocations: 1.578 MB / 1.34 GB, free: 3.652 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00424/0.5124, allocations: 0.636 MB / 1.341 GB, free: 3.012 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002765/0.5152, allocations: 390.7 kB / 1.341 GB, free: 2.633 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.007846/0.523, allocations: 2.99 MB / 1.344 GB, free: 15.63 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.5241, allocations: 222.4 kB / 1.344 GB, free: 15.39 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003935/0.528, allocations: 1.148 MB / 1.345 GB, free: 14.24 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004828/0.5328, allocations: 1.678 MB / 1.347 GB, free: 12.55 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001159/0.534, allocations: 196 kB / 1.347 GB, free: 12.36 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001667/0.5357, allocations: 323.8 kB / 1.347 GB, free: 12.05 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001371/0.537, allocations: 0.7048 MB / 1.348 GB, free: 11.34 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.004151/0.5412, allocations: 0.9797 MB / 1.349 GB, free: 10.36 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01065/0.5518, allocations: 3.705 MB / 1.353 GB, free: 6.637 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 1.179e-05/0.5518, allocations: 8 kB / 1.353 GB, free: 6.629 MB / 1.045 GB Notification: Performance of FrontEnd: time 4.388e-06/0.5518, allocations: 3.938 kB / 1.353 GB, free: 6.625 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002118/0.5521, allocations: 0 / 1.353 GB, free: 6.625 MB / 1.045 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.01281/0.5649, allocations: 3.474 MB / 1.356 GB, free: 3.102 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/0.5649, allocations: 8.031 kB / 1.356 GB, free: 3.094 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.566, allocations: 255.3 kB / 1.356 GB, free: 2.844 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005621/0.5717, allocations: 1.929 MB / 1.358 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.882e-05/0.5718, allocations: 61 kB / 1.358 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00052/0.5723, allocations: 91.98 kB / 1.358 GB, free: 0.707 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/0.574, allocations: 0.7207 MB / 1.359 GB, free: 15.98 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.574, allocations: 0 / 1.359 GB, free: 15.98 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.183e-05/0.5741, allocations: 16 kB / 1.359 GB, free: 15.97 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.5741, allocations: 12 kB / 1.359 GB, free: 15.96 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001821/0.5759, allocations: 0.9758 MB / 1.36 GB, free: 14.98 MB / 1.061 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.01342/0.5894, allocations: 3.611 MB / 1.364 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002039/0.5914, allocations: 0.7427 MB / 1.364 GB, free: 10.58 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009262/0.5923, allocations: 476.8 kB / 1.365 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.562e-05/0.5924, allocations: 4 kB / 1.365 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001259/0.5925, allocations: 46.56 kB / 1.365 GB, free: 10.05 MB / 1.061 GB Notification: Performance of pre-optimization done (n=44): time 3.636e-06/0.5925, allocations: 0 / 1.365 GB, free: 10.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=44): time 0.0122/0.6047, allocations: 3.384 MB / 1.368 GB, free: 6.656 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.568e-05/0.6048, allocations: 55.41 kB / 1.368 GB, free: 6.59 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007739/0.6125, allocations: 2.863 MB / 1.371 GB, free: 3.711 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0009369/0.6135, allocations: 49.7 kB / 1.371 GB, free: 3.656 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.002259/0.6157, allocations: 0.8631 MB / 1.372 GB, free: 2.785 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005248/0.6163, allocations: 170.6 kB / 1.372 GB, free: 2.617 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002373/0.6186, allocations: 331.5 kB / 1.372 GB, free: 2.285 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002644/0.6189, allocations: 373.8 kB / 1.373 GB, free: 1.914 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002575/0.6215, allocations: 1.366 MB / 1.374 GB, free: 0.5469 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003083/0.6245, allocations: 1.85 MB / 1.376 GB, free: 14.62 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00361/0.6282, allocations: 1.922 MB / 1.378 GB, free: 12.69 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.6282, allocations: 0 / 1.378 GB, free: 12.69 MB / 1.076 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.008637/0.6368, allocations: 4.067 MB / 1.382 GB, free: 8.609 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.6368, allocations: 4 kB / 1.382 GB, free: 8.605 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.6368, allocations: 4 kB / 1.382 GB, free: 8.602 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003457/0.6403, allocations: 1.105 MB / 1.383 GB, free: 7.492 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.6418, allocations: 227.7 kB / 1.383 GB, free: 7.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0131/0.6549, allocations: 7.696 MB / 1.391 GB, free: 15.46 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002574/0.6574, allocations: 262.6 kB / 1.391 GB, free: 15.21 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000534/0.658, allocations: 43.98 kB / 1.391 GB, free: 15.16 MB / 1.092 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.002045/0.66, allocations: 0.7984 MB / 1.392 GB, free: 14.36 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006902/0.6607, allocations: 222.4 kB / 1.392 GB, free: 14.14 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008957/0.6616, allocations: 250.1 kB / 1.392 GB, free: 13.89 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.6616, allocations: 4 kB / 1.392 GB, free: 13.88 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-05/0.6617, allocations: 8 kB / 1.392 GB, free: 13.88 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.6617, allocations: 7.922 kB / 1.392 GB, free: 13.87 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002363/0.664, allocations: 0.9696 MB / 1.393 GB, free: 12.87 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.664, allocations: 4 kB / 1.393 GB, free: 12.86 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.425e-05/0.6641, allocations: 3.938 kB / 1.393 GB, free: 12.86 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003166/0.6673, allocations: 1.023 MB / 1.394 GB, free: 11.83 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.3e-05/0.6673, allocations: 12 kB / 1.394 GB, free: 11.82 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01307/0.6804, allocations: 7.69 MB / 1.402 GB, free: 4.023 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.6804, allocations: 4 kB / 1.402 GB, free: 4.02 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004442/0.6848, allocations: 1.935 MB / 1.403 GB, free: 2.062 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001377/0.6862, allocations: 370.4 kB / 1.404 GB, free: 1.699 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005866/0.6868, allocations: 7.938 kB / 1.404 GB, free: 1.691 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009869/0.6878, allocations: 35.89 kB / 1.404 GB, free: 1.656 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002428/0.688, allocations: 43.86 kB / 1.404 GB, free: 1.613 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.391e-05/0.6881, allocations: 11.94 kB / 1.404 GB, free: 1.602 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.004505/0.6926, allocations: 1.98 MB / 1.406 GB, free: 15.61 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6926, allocations: 0 / 1.406 GB, free: 15.61 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002693/0.6953, allocations: 0.6207 MB / 1.406 GB, free: 14.99 MB / 1.107 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.0005446/0.6958, allocations: 163.4 kB / 1.407 GB, free: 14.84 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.005978/0.7018, allocations: 2.51 MB / 1.409 GB, free: 12.31 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.7018, allocations: 4.062 kB / 1.409 GB, free: 12.31 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002568/0.7044, allocations: 1.023 MB / 1.41 GB, free: 11.27 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003702/0.7081, allocations: 0.6292 MB / 1.411 GB, free: 10.65 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008856/0.7169, allocations: 4.014 MB / 1.415 GB, free: 6.605 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002141/0.7191, allocations: 1.201 MB / 1.416 GB, free: 5.363 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007306/0.7198, allocations: 83.44 kB / 1.416 GB, free: 5.281 MB / 1.107 GB Notification: Performance of SimCode: time 1.483e-06/0.7198, allocations: 0 / 1.416 GB, free: 5.281 MB / 1.107 GB Notification: Performance of Templates: time 0.07472/0.7945, allocations: 46.14 MB / 1.461 GB, free: 7.293 MB / 1.154 GB " [Timeout remaining time 299] 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: 18.533738777972758]