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.001315/0.001315, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001335/0.001335, allocations: 215 kB / 20.13 MB, free: 2.949 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.418/1.418, 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 2.753/2.753, allocations: 0.49 GB / 0.7923 GB, free: 1.352 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="cs",version="2.0",platforms={"static"}) [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.001926/0.001926, allocations: 67.89 kB / 1.15 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8948/0.8967, allocations: 176.1 MB / 1.322 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.006196/0.9029, allocations: 7.292 MB / 1.329 GB, free: 19.52 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007048/0.9099, allocations: 5.603 MB / 1.334 GB, free: 15.48 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001278/0.9112, allocations: 72.22 kB / 1.334 GB, free: 15.45 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004522/0.9157, allocations: 1.698 MB / 1.336 GB, free: 14.65 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001717/0.9174, allocations: 0.6278 MB / 1.336 GB, free: 14.23 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.9186, allocations: 380.1 kB / 1.337 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00388/0.9225, allocations: 2.949 MB / 1.34 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005779/0.9231, allocations: 398.2 kB / 1.34 GB, free: 12.63 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00208/0.9252, allocations: 1.13 MB / 1.341 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002227/0.9274, allocations: 1.643 MB / 1.343 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0005139/0.9279, allocations: 195.1 kB / 1.343 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000884/0.9288, allocations: 325.5 kB / 1.343 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006907/0.9295, allocations: 0.7126 MB / 1.344 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001447/0.9309, allocations: 1.207 MB / 1.345 GB, free: 10.54 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004959/0.9359, allocations: 3.707 MB / 1.349 GB, free: 9.25 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.9359, allocations: 0.75 kB / 1.349 GB, free: 9.25 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9359, allocations: 0 / 1.349 GB, free: 9.25 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.429e-05/0.936, allocations: 1.344 kB / 1.349 GB, free: 9.25 MB / 1.061 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.009281/0.9453, allocations: 3.539 MB / 1.352 GB, free: 7.387 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.9453, allocations: 18.42 kB / 1.352 GB, free: 7.379 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.955e-05/0.9454, allocations: 12.19 kB / 1.352 GB, free: 7.375 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001171/0.9455, allocations: 86.89 kB / 1.352 GB, free: 7.309 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005672/0.946, allocations: 257.3 kB / 1.353 GB, free: 7.172 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003917/0.95, allocations: 2.008 MB / 1.355 GB, free: 6.191 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.49e-05/0.95, allocations: 67.81 kB / 1.355 GB, free: 6.16 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002206/0.9502, allocations: 91.77 kB / 1.355 GB, free: 6.129 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.9515, allocations: 0.7111 MB / 1.355 GB, free: 5.898 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.9515, allocations: 7.875 kB / 1.355 GB, free: 5.891 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.629e-05/0.9515, allocations: 19.53 kB / 1.355 GB, free: 5.875 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.9516, allocations: 12.03 kB / 1.355 GB, free: 5.875 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001503/0.9531, allocations: 0.9775 MB / 1.356 GB, free: 5.641 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.01096/0.964, allocations: 4.49 MB / 1.361 GB, free: 3.918 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.9653, allocations: 0.7455 MB / 1.362 GB, free: 3.688 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006161/0.966, allocations: 472.1 kB / 1.362 GB, free: 3.551 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.39e-05/0.966, allocations: 9.281 kB / 1.362 GB, free: 3.547 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.966, allocations: 36.47 kB / 1.362 GB, free: 3.504 MB / 1.061 GB Notification: Performance of pre-optimization done (n=44): time 3.637e-06/0.966, allocations: 3.984 kB / 1.362 GB, free: 3.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=44): time 0.01031/0.9763, allocations: 3.449 MB / 1.365 GB, free: 2.633 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.9764, allocations: 59.47 kB / 1.365 GB, free: 2.566 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004679/0.9811, allocations: 2.947 MB / 1.368 GB, free: 1.617 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0007766/0.9818, allocations: 52.7 kB / 1.368 GB, free: 1.566 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000882/0.9827, allocations: 0.8592 MB / 1.369 GB, free: 0.9023 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.9829, allocations: 170.7 kB / 1.369 GB, free: 0.7695 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006813/0.9836, allocations: 333.7 kB / 1.37 GB, free: 0.6367 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.9837, allocations: 360.6 kB / 1.37 GB, free: 320 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002135/0.9858, allocations: 1.374 MB / 1.371 GB, free: 15.78 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002714/0.9885, allocations: 1.625 MB / 1.373 GB, free: 15.15 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003055/0.9916, allocations: 1.921 MB / 1.375 GB, free: 14.32 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.9916, allocations: 1 kB / 1.375 GB, free: 14.32 MB / 1.076 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.008332/0.9999, allocations: 4.074 MB / 1.379 GB, free: 12.78 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/1, allocations: 4.656 kB / 1.379 GB, free: 12.78 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/1, allocations: 1.062 kB / 1.379 GB, free: 12.78 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00337/1.003, allocations: 1.103 MB / 1.38 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/1.005, allocations: 222.5 kB / 1.38 GB, free: 12.61 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01312/1.018, allocations: 7.962 MB / 1.388 GB, free: 8.938 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003031/1.021, allocations: 273.9 kB / 1.388 GB, free: 8.812 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004068/1.021, allocations: 42.94 kB / 1.388 GB, free: 8.801 MB / 1.076 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.001731/1.023, allocations: 0.8031 MB / 1.389 GB, free: 8.461 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005123/1.024, allocations: 223.5 kB / 1.389 GB, free: 8.332 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006068/1.024, allocations: 252.3 kB / 1.389 GB, free: 8.203 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/1.024, allocations: 5.469 kB / 1.389 GB, free: 8.203 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-05/1.024, allocations: 7.281 kB / 1.389 GB, free: 8.203 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/1.024, allocations: 7.062 kB / 1.389 GB, free: 8.199 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/1.026, allocations: 1.227 MB / 1.391 GB, free: 7.664 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/1.026, allocations: 0.7812 kB / 1.391 GB, free: 7.664 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.69e-05/1.026, allocations: 4.297 kB / 1.391 GB, free: 7.664 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003171/1.03, allocations: 1.028 MB / 1.392 GB, free: 7.496 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.531e-05/1.03, allocations: 6.922 kB / 1.392 GB, free: 7.492 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0124/1.042, allocations: 7.953 MB / 1.399 GB, free: 2.609 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.042, allocations: 5.281 kB / 1.399 GB, free: 2.605 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004284/1.046, allocations: 1.941 MB / 1.401 GB, free: 1.504 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001609/1.048, allocations: 452.8 kB / 1.402 GB, free: 1.188 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004409/1.048, allocations: 10.22 kB / 1.402 GB, free: 1.18 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007419/1.049, allocations: 32.62 kB / 1.402 GB, free: 1.156 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002026/1.049, allocations: 37.72 kB / 1.402 GB, free: 1.137 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.692e-05/1.049, allocations: 11.62 kB / 1.402 GB, free: 1.133 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003654/1.053, allocations: 2.038 MB / 1.404 GB, free: 76 kB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/1.053, allocations: 0 / 1.404 GB, free: 76 kB / 1.076 GB Notification: Performance of remove unused functions: time 0.00324/1.056, allocations: 0.6172 MB / 1.404 GB, free: 12 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.004626/1.061, allocations: 2.548 MB / 1.407 GB, free: 14.37 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.005819/1.067, allocations: 2.531 MB / 1.409 GB, free: 13.04 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.067, allocations: 0 / 1.409 GB, free: 13.04 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002351/1.069, allocations: 1.022 MB / 1.41 GB, free: 12.46 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003104/1.072, allocations: 0.6602 MB / 1.411 GB, free: 12.13 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04423/1.116, allocations: 25.23 MB / 1.436 GB, free: 3.887 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002019/1.118, allocations: 1.911 MB / 1.438 GB, free: 1.941 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001991/1.12, allocations: 337.8 kB / 1.438 GB, free: 1.605 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001367/1.122, allocations: 0.7024 MB / 1.439 GB, free: 0.9062 MB / 1.107 GB Notification: Performance of SimCode: time 1.683e-06/1.122, allocations: 0 / 1.439 GB, free: 0.9062 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1135/1.235, allocations: 62.55 MB / 1.5 GB, free: 3.066 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.75/14.98, allocations: 3.75 kB / 1.5 GB, free: 3.062 MB / 1.17 GB " [Timeout remaining time 285] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat --tempDir=temp_Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.fmu > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) [Timeout 420.0] 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: 21.319520194025245]