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.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.001717/0.001717, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002227/0.002227, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.35/1.35, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.032/3.032, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="me",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.001994/0.001994, allocations: 62.88 kB / 1.186 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3422, allocations: 181.9 MB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.008043/0.3503, allocations: 6.399 MB / 1.37 GB, free: 7.582 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007535/0.3578, allocations: 5.067 MB / 1.375 GB, free: 2.5 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007501/0.3586, allocations: 71.44 kB / 1.375 GB, free: 2.43 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003698/0.3623, allocations: 1.586 MB / 1.376 GB, free: 0.8359 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.3635, allocations: 0.636 MB / 1.377 GB, free: 200 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.3645, allocations: 387.2 kB / 1.377 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003022/0.3675, allocations: 2.995 MB / 1.38 GB, free: 12.82 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004112/0.3679, allocations: 218.5 kB / 1.38 GB, free: 12.58 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001542/0.3695, allocations: 1.156 MB / 1.382 GB, free: 11.42 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00195/0.3714, allocations: 1.682 MB / 1.383 GB, free: 9.73 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003624/0.3718, allocations: 196 kB / 1.383 GB, free: 9.539 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006818/0.3724, allocations: 319.8 kB / 1.384 GB, free: 9.227 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006463/0.3731, allocations: 0.7048 MB / 1.384 GB, free: 8.52 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.3741, allocations: 0.972 MB / 1.385 GB, free: 7.543 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003429/0.3776, allocations: 3.717 MB / 1.389 GB, free: 3.812 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3776, allocations: 0 / 1.389 GB, free: 3.812 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3776, allocations: 0 / 1.389 GB, free: 3.812 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.866e-05/0.3776, allocations: 0 / 1.389 GB, free: 3.812 MB / 1.076 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.006835/0.3844, allocations: 3.47 MB / 1.392 GB, free: 300 kB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.3845, allocations: 12.03 kB / 1.392 GB, free: 288 kB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001047/0.3846, allocations: 86.7 kB / 1.392 GB, free: 192 kB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004012/0.385, allocations: 259.3 kB / 1.393 GB, free: 15.93 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0038/0.3888, allocations: 1.929 MB / 1.395 GB, free: 13.95 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.003e-05/0.3888, allocations: 64.94 kB / 1.395 GB, free: 13.88 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001963/0.389, allocations: 88 kB / 1.395 GB, free: 13.8 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.3901, allocations: 0.713 MB / 1.395 GB, free: 13.08 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.3901, allocations: 0 / 1.395 GB, free: 13.08 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.865e-05/0.3902, allocations: 16 kB / 1.395 GB, free: 13.07 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.3902, allocations: 12 kB / 1.395 GB, free: 13.05 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001471/0.3917, allocations: 0.9836 MB / 1.396 GB, free: 12.07 MB / 1.092 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.01056/0.4022, allocations: 3.723 MB / 1.4 GB, free: 8.301 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/0.4036, allocations: 0.7388 MB / 1.401 GB, free: 7.547 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006373/0.4042, allocations: 480.3 kB / 1.401 GB, free: 7.074 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 3.84e-05/0.4042, allocations: 11.94 kB / 1.401 GB, free: 7.062 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.4043, allocations: 38.5 kB / 1.401 GB, free: 7.016 MB / 1.092 GB Notification: Performance of pre-optimization done (n=44): time 2.715e-06/0.4043, allocations: 0 / 1.401 GB, free: 7.016 MB / 1.092 GB Notification: Performance of matching and sorting (n=44): time 0.009636/0.4139, allocations: 3.385 MB / 1.405 GB, free: 3.621 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.414, allocations: 63.33 kB / 1.405 GB, free: 3.547 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004672/0.4186, allocations: 2.945 MB / 1.407 GB, free: 0.5898 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002794/0.4189, allocations: 53.7 kB / 1.408 GB, free: 0.5312 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001125/0.42, allocations: 0.8596 MB / 1.408 GB, free: 15.66 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/0.4202, allocations: 166.6 kB / 1.409 GB, free: 15.5 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007798/0.421, allocations: 339.5 kB / 1.409 GB, free: 15.16 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.4212, allocations: 361.9 kB / 1.409 GB, free: 14.8 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001924/0.4231, allocations: 1.37 MB / 1.411 GB, free: 13.43 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002384/0.4255, allocations: 1.854 MB / 1.412 GB, free: 11.51 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002686/0.4282, allocations: 1.922 MB / 1.414 GB, free: 9.578 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/0.4282, allocations: 0 / 1.414 GB, free: 9.578 MB / 1.107 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.007214/0.4354, allocations: 4.071 MB / 1.418 GB, free: 5.492 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.4354, allocations: 12 kB / 1.418 GB, free: 5.48 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.4354, allocations: 0 / 1.418 GB, free: 5.48 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003106/0.4385, allocations: 1.105 MB / 1.419 GB, free: 4.371 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.4397, allocations: 227.7 kB / 1.42 GB, free: 4.148 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01209/0.4517, allocations: 7.742 MB / 1.427 GB, free: 12.29 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002099/0.4538, allocations: 266.5 kB / 1.427 GB, free: 12.02 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000293/0.4541, allocations: 43.98 kB / 1.427 GB, free: 11.98 MB / 1.123 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.001451/0.4556, allocations: 0.8032 MB / 1.428 GB, free: 11.17 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004941/0.4561, allocations: 222.5 kB / 1.428 GB, free: 10.95 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005424/0.4566, allocations: 250.7 kB / 1.429 GB, free: 10.7 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.4566, allocations: 8 kB / 1.429 GB, free: 10.69 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.421e-05/0.4567, allocations: 12 kB / 1.429 GB, free: 10.68 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.4567, allocations: 3.984 kB / 1.429 GB, free: 10.68 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.4582, allocations: 1.044 MB / 1.43 GB, free: 9.59 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4582, allocations: 0 / 1.43 GB, free: 9.59 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.893e-05/0.4582, allocations: 7.984 kB / 1.43 GB, free: 9.582 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002891/0.4611, allocations: 1.017 MB / 1.431 GB, free: 8.562 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.409e-05/0.4611, allocations: 8 kB / 1.431 GB, free: 8.555 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01195/0.4731, allocations: 7.74 MB / 1.438 GB, free: 0.6992 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4731, allocations: 0 / 1.438 GB, free: 0.6992 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003876/0.477, allocations: 1.94 MB / 1.44 GB, free: 14.74 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/0.478, allocations: 386.2 kB / 1.44 GB, free: 14.36 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/0.4782, allocations: 7.984 kB / 1.44 GB, free: 14.35 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005889/0.4788, allocations: 39.86 kB / 1.441 GB, free: 14.31 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.4789, allocations: 35.92 kB / 1.441 GB, free: 14.28 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.4789, allocations: 12 kB / 1.441 GB, free: 14.27 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002889/0.4818, allocations: 2.036 MB / 1.443 GB, free: 12.22 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.4818, allocations: 0 / 1.443 GB, free: 12.22 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001572/0.4834, allocations: 0.613 MB / 1.443 GB, free: 11.61 MB / 1.139 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.004288/0.4877, allocations: 2.545 MB / 1.446 GB, free: 9.039 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.004952/0.4926, allocations: 2.533 MB / 1.448 GB, free: 6.488 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.4926, allocations: 0 / 1.448 GB, free: 6.488 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002246/0.4949, allocations: 1.016 MB / 1.449 GB, free: 5.457 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/0.4975, allocations: 0.6766 MB / 1.45 GB, free: 4.797 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03897/0.5364, allocations: 25.24 MB / 1.474 GB, free: 11.34 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001501/0.5379, allocations: 1.331 MB / 1.476 GB, free: 9.969 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0009528/0.5389, allocations: 325.9 kB / 1.476 GB, free: 9.645 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009904/0.5399, allocations: 0.7102 MB / 1.477 GB, free: 8.934 MB / 1.17 GB Notification: Performance of SimCode: time 1.052e-06/0.5399, allocations: 3.938 kB / 1.477 GB, free: 8.93 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1203/0.6601, allocations: 67.35 MB / 1.542 GB, free: 6.363 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/13.91, allocations: 6.094 kB / 1.543 GB, free: 6.359 MB / 1.232 GB " [Timeout remaining time 286] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) [Timeout 840.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.476588105317205]