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.001579/0.001579, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001922/0.001922, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.379/1.379, allocations: 230.6 MB / 256 MB, free: 7.973 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.079/3.079, allocations: 0.505 GB / 0.8101 GB, free: 22.07 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.001956/0.001956, allocations: 71.08 kB / 1.177 GB, free: 17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3375, allocations: 180.2 MB / 1.353 GB, free: 8.383 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.009371/0.3469, allocations: 7.311 MB / 1.36 GB, free: 1.035 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.009573/0.3565, allocations: 5.603 MB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001625/0.3581, allocations: 79.38 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.005267/0.3634, allocations: 1.733 MB / 1.367 GB, free: 9.594 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002221/0.3656, allocations: 0.6282 MB / 1.368 GB, free: 8.961 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.3671, allocations: 405.3 kB / 1.368 GB, free: 8.566 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004329/0.3714, allocations: 3.006 MB / 1.371 GB, free: 5.555 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006691/0.3721, allocations: 218.5 kB / 1.371 GB, free: 5.316 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002343/0.3744, allocations: 1.16 MB / 1.373 GB, free: 4.152 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002697/0.3771, allocations: 1.674 MB / 1.374 GB, free: 2.473 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0007905/0.3779, allocations: 196 kB / 1.374 GB, free: 2.281 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.3791, allocations: 331.8 kB / 1.375 GB, free: 1.957 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001132/0.3803, allocations: 0.7048 MB / 1.375 GB, free: 1.25 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002361/0.3826, allocations: 1.213 MB / 1.377 GB, free: 32 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005459/0.3881, allocations: 3.713 MB / 1.38 GB, free: 12.3 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3881, allocations: 0 / 1.38 GB, free: 12.3 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3881, allocations: 0 / 1.38 GB, free: 12.3 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001169/0.3882, allocations: 0 / 1.38 GB, free: 12.3 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.008946/0.3972, allocations: 3.474 MB / 1.384 GB, free: 8.777 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.3972, allocations: 8.031 kB / 1.384 GB, free: 8.77 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002173/0.3974, allocations: 90.7 kB / 1.384 GB, free: 8.672 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007642/0.3982, allocations: 259.3 kB / 1.384 GB, free: 8.418 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004683/0.4029, allocations: 1.921 MB / 1.386 GB, free: 6.438 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.596e-05/0.403, allocations: 65 kB / 1.386 GB, free: 6.375 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003785/0.4033, allocations: 88 kB / 1.386 GB, free: 6.289 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.4046, allocations: 0.713 MB / 1.387 GB, free: 5.574 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.4046, allocations: 3.984 kB / 1.387 GB, free: 5.57 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.373e-05/0.4047, allocations: 27.88 kB / 1.387 GB, free: 5.543 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.4047, allocations: 12 kB / 1.387 GB, free: 5.531 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.4063, allocations: 0.9797 MB / 1.388 GB, free: 4.547 MB / 1.076 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.01176/0.418, allocations: 4.468 MB / 1.392 GB, free: 15.95 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.4195, allocations: 0.743 MB / 1.393 GB, free: 15.2 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007037/0.4202, allocations: 472.5 kB / 1.393 GB, free: 14.73 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 4.885e-05/0.4203, allocations: 4 kB / 1.393 GB, free: 14.73 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.4203, allocations: 42.5 kB / 1.393 GB, free: 14.68 MB / 1.092 GB Notification: Performance of pre-optimization done (n=44): time 2.455e-06/0.4203, allocations: 0 / 1.393 GB, free: 14.68 MB / 1.092 GB Notification: Performance of matching and sorting (n=44): time 0.01019/0.4305, allocations: 3.39 MB / 1.397 GB, free: 11.27 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/0.4306, allocations: 59.34 kB / 1.397 GB, free: 11.2 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005491/0.4361, allocations: 2.945 MB / 1.4 GB, free: 8.242 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0004006/0.4365, allocations: 57.64 kB / 1.4 GB, free: 8.18 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001426/0.4379, allocations: 0.8634 MB / 1.4 GB, free: 7.309 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002647/0.4381, allocations: 170.6 kB / 1.401 GB, free: 7.141 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001123/0.4393, allocations: 335.5 kB / 1.401 GB, free: 6.805 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001988/0.4395, allocations: 361.9 kB / 1.401 GB, free: 6.445 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002177/0.4416, allocations: 1.374 MB / 1.403 GB, free: 5.07 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002751/0.4444, allocations: 1.616 MB / 1.404 GB, free: 3.441 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003315/0.4477, allocations: 1.922 MB / 1.406 GB, free: 1.508 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.4477, allocations: 0 / 1.406 GB, free: 1.508 MB / 1.092 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.008586/0.4563, allocations: 4.075 MB / 1.41 GB, free: 13.42 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.4563, allocations: 4 kB / 1.41 GB, free: 13.41 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.4563, allocations: 3.984 kB / 1.41 GB, free: 13.41 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003331/0.4597, allocations: 1.109 MB / 1.411 GB, free: 12.3 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.4609, allocations: 227.7 kB / 1.411 GB, free: 12.07 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01323/0.4742, allocations: 7.851 MB / 1.419 GB, free: 4.105 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002115/0.4763, allocations: 270.5 kB / 1.419 GB, free: 3.84 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003657/0.4766, allocations: 40 kB / 1.419 GB, free: 3.801 MB / 1.107 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.001686/0.4783, allocations: 0.8101 MB / 1.42 GB, free: 2.98 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005649/0.4789, allocations: 222.5 kB / 1.42 GB, free: 2.762 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007042/0.4796, allocations: 258.7 kB / 1.421 GB, free: 2.5 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.4796, allocations: 4 kB / 1.421 GB, free: 2.496 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-05/0.4796, allocations: 8 kB / 1.421 GB, free: 2.488 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4796, allocations: 0 / 1.421 GB, free: 2.488 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/0.482, allocations: 1.196 MB / 1.422 GB, free: 1.25 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.482, allocations: 4 kB / 1.422 GB, free: 1.246 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.187e-05/0.482, allocations: 11.94 kB / 1.422 GB, free: 1.234 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003028/0.4851, allocations: 1.023 MB / 1.423 GB, free: 212 kB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.191e-05/0.4851, allocations: 8 kB / 1.423 GB, free: 204 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01323/0.4983, allocations: 7.833 MB / 1.43 GB, free: 8.242 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.4983, allocations: 0 / 1.43 GB, free: 8.242 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004229/0.5026, allocations: 1.94 MB / 1.432 GB, free: 6.281 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001552/0.5041, allocations: 382.2 kB / 1.433 GB, free: 5.906 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005675/0.5047, allocations: 11.98 kB / 1.433 GB, free: 5.895 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008359/0.5055, allocations: 27.97 kB / 1.433 GB, free: 5.867 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/0.5057, allocations: 39.91 kB / 1.433 GB, free: 5.828 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.288e-05/0.5057, allocations: 12 kB / 1.433 GB, free: 5.816 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.004122/0.5099, allocations: 2.04 MB / 1.435 GB, free: 3.77 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5099, allocations: 0 / 1.435 GB, free: 3.77 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002109/0.512, allocations: 0.613 MB / 1.435 GB, free: 3.156 MB / 1.123 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.004902/0.5169, allocations: 2.555 MB / 1.438 GB, free: 0.5781 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.005644/0.5225, allocations: 2.533 MB / 1.44 GB, free: 14.04 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.5225, allocations: 0 / 1.44 GB, free: 14.04 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002433/0.525, allocations: 1.012 MB / 1.441 GB, free: 13.01 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00335/0.5283, allocations: 0.6665 MB / 1.442 GB, free: 12.35 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04823/0.5765, allocations: 25.24 MB / 1.467 GB, free: 2.883 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002466/0.579, allocations: 1.919 MB / 1.468 GB, free: 0.9297 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001245/0.5803, allocations: 329.8 kB / 1.469 GB, free: 0.6016 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00135/0.5816, allocations: 0.7141 MB / 1.469 GB, free: 15.88 MB / 1.17 GB Notification: Performance of SimCode: time 1.262e-06/0.5816, allocations: 0 / 1.469 GB, free: 15.88 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1328/0.7144, allocations: 62.9 MB / 1.531 GB, free: 1.543 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.05/15.76, allocations: 11.61 kB / 1.531 GB, free: 1.535 MB / 1.217 GB " [Timeout remaining time 284] (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: 22.403499437030405]