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.001873/0.001873, allocations: 102.7 kB / 16.45 MB, free: 6.5 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.002176/0.002176, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.421/1.421, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.96/2.96, allocations: 0.49 GB / 0.7916 GB, free: 33.38 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_12_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.001965/0.001965, allocations: 64.25 kB / 1.149 GB, free: 26.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3227, allocations: 176.1 MB / 1.321 GB, free: 3.316 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.009268/0.332, allocations: 7.28 MB / 1.328 GB, free: 11.99 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008778/0.3408, allocations: 5.601 MB / 1.333 GB, free: 6.371 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001446/0.3422, allocations: 71.44 kB / 1.334 GB, free: 6.301 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004535/0.3468, allocations: 1.695 MB / 1.335 GB, free: 4.598 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001839/0.3486, allocations: 0.6243 MB / 1.336 GB, free: 3.969 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.3497, allocations: 391.9 kB / 1.336 GB, free: 3.586 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00337/0.3531, allocations: 2.95 MB / 1.339 GB, free: 0.6328 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005809/0.3537, allocations: 390.1 kB / 1.339 GB, free: 236 kB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001728/0.3554, allocations: 1.129 MB / 1.341 GB, free: 15.1 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001968/0.3573, allocations: 1.647 MB / 1.342 GB, free: 13.45 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003634/0.3577, allocations: 196 kB / 1.342 GB, free: 13.25 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006839/0.3584, allocations: 323.8 kB / 1.343 GB, free: 12.94 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000662/0.3591, allocations: 0.7087 MB / 1.343 GB, free: 12.23 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001263/0.3603, allocations: 1.213 MB / 1.345 GB, free: 11.01 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003764/0.3641, allocations: 3.698 MB / 1.348 GB, free: 7.297 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.3641, allocations: 8 kB / 1.348 GB, free: 7.289 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.003e-06/0.3641, allocations: 4 kB / 1.348 GB, free: 7.285 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.963e-05/0.3641, allocations: 0 / 1.348 GB, free: 7.285 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.007075/0.3712, allocations: 3.537 MB / 1.352 GB, free: 3.676 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.3713, allocations: 19.97 kB / 1.352 GB, free: 3.656 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001084/0.3714, allocations: 82.72 kB / 1.352 GB, free: 3.566 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004216/0.3718, allocations: 263.2 kB / 1.352 GB, free: 3.309 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003175/0.375, allocations: 2.005 MB / 1.354 GB, free: 1.242 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.682e-05/0.375, allocations: 65 kB / 1.354 GB, free: 1.18 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002033/0.3752, allocations: 91.94 kB / 1.354 GB, free: 1.09 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.3763, allocations: 0.7168 MB / 1.355 GB, free: 380 kB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3763, allocations: 0 / 1.355 GB, free: 380 kB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.224e-05/0.3764, allocations: 19.94 kB / 1.355 GB, free: 360 kB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.3764, allocations: 8 kB / 1.355 GB, free: 352 kB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.3779, allocations: 0.9797 MB / 1.356 GB, free: 15.36 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.01036/0.3882, allocations: 4.5 MB / 1.36 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.3895, allocations: 0.7489 MB / 1.361 GB, free: 9.961 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006191/0.3901, allocations: 468.5 kB / 1.361 GB, free: 9.5 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.76e-05/0.3902, allocations: 4 kB / 1.361 GB, free: 9.496 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.3902, allocations: 42.5 kB / 1.361 GB, free: 9.445 MB / 1.061 GB Notification: Performance of pre-optimization done (n=44): time 2.896e-06/0.3902, allocations: 4 kB / 1.361 GB, free: 9.441 MB / 1.061 GB Notification: Performance of matching and sorting (n=44): time 0.009781/0.4, allocations: 3.445 MB / 1.365 GB, free: 5.965 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.4001, allocations: 63.28 kB / 1.365 GB, free: 5.891 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004909/0.405, allocations: 2.945 MB / 1.368 GB, free: 2.934 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0003276/0.4053, allocations: 53.7 kB / 1.368 GB, free: 2.875 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001154/0.4064, allocations: 0.8634 MB / 1.369 GB, free: 2.004 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/0.4067, allocations: 170.5 kB / 1.369 GB, free: 1.836 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006418/0.4073, allocations: 331.5 kB / 1.369 GB, free: 1.504 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.4075, allocations: 361.9 kB / 1.369 GB, free: 1.145 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001906/0.4094, allocations: 1.374 MB / 1.371 GB, free: 15.77 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00224/0.4116, allocations: 1.624 MB / 1.372 GB, free: 14.13 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002685/0.4143, allocations: 1.918 MB / 1.374 GB, free: 12.2 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.4143, allocations: 0 / 1.374 GB, free: 12.2 MB / 1.076 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.007514/0.4218, allocations: 4.079 MB / 1.378 GB, free: 8.109 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.4218, allocations: 4 kB / 1.378 GB, free: 8.105 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.4219, allocations: 0 / 1.378 GB, free: 8.105 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00328/0.4251, allocations: 1.108 MB / 1.379 GB, free: 6.992 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.4264, allocations: 223.7 kB / 1.379 GB, free: 6.773 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01257/0.4389, allocations: 7.959 MB / 1.387 GB, free: 14.67 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002135/0.4411, allocations: 262.5 kB / 1.387 GB, free: 14.41 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000332/0.4414, allocations: 40 kB / 1.388 GB, free: 14.38 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.001467/0.4429, allocations: 0.8056 MB / 1.388 GB, free: 13.56 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005219/0.4434, allocations: 222.5 kB / 1.389 GB, free: 13.34 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007105/0.4441, allocations: 258.7 kB / 1.389 GB, free: 13.08 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.4441, allocations: 7.938 kB / 1.389 GB, free: 13.07 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.06e-05/0.4441, allocations: 8 kB / 1.389 GB, free: 13.06 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.4441, allocations: 3.984 kB / 1.389 GB, free: 13.06 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00201/0.4461, allocations: 1.228 MB / 1.39 GB, free: 11.78 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.4462, allocations: 0 / 1.39 GB, free: 11.78 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.243e-05/0.4462, allocations: 4 kB / 1.39 GB, free: 11.78 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002979/0.4492, allocations: 1.023 MB / 1.391 GB, free: 10.75 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.537e-05/0.4492, allocations: 8 kB / 1.391 GB, free: 10.74 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01212/0.4613, allocations: 7.945 MB / 1.399 GB, free: 2.652 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4613, allocations: 96 / 1.399 GB, free: 2.652 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003988/0.4653, allocations: 1.942 MB / 1.401 GB, free: 0.6875 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009891/0.4663, allocations: 463.3 kB / 1.401 GB, free: 220 kB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004044/0.4667, allocations: 4 kB / 1.401 GB, free: 216 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007981/0.4675, allocations: 23.97 kB / 1.401 GB, free: 192 kB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.4677, allocations: 43.88 kB / 1.401 GB, free: 148 kB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.162e-05/0.4677, allocations: 12 kB / 1.401 GB, free: 136 kB / 1.092 GB Notification: Performance of sorting global known variables: time 0.00369/0.4714, allocations: 2.036 MB / 1.403 GB, free: 14.09 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4714, allocations: 4 kB / 1.403 GB, free: 14.09 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001852/0.4732, allocations: 0.613 MB / 1.404 GB, free: 13.47 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.004528/0.4778, allocations: 2.553 MB / 1.406 GB, free: 10.9 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.005258/0.483, allocations: 2.53 MB / 1.409 GB, free: 8.352 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.483, allocations: 0 / 1.409 GB, free: 8.352 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002332/0.4854, allocations: 1.023 MB / 1.41 GB, free: 7.312 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002975/0.4883, allocations: 0.6777 MB / 1.41 GB, free: 6.652 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03999/0.5283, allocations: 25.21 MB / 1.435 GB, free: 13.22 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001676/0.53, allocations: 1.907 MB / 1.437 GB, free: 11.27 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001085/0.5311, allocations: 337.8 kB / 1.437 GB, free: 10.94 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009769/0.5321, allocations: 0.7102 MB / 1.438 GB, free: 10.23 MB / 1.139 GB Notification: Performance of SimCode: time 7.11e-07/0.5321, allocations: 0 / 1.438 GB, free: 10.23 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1184/0.6505, allocations: 62.49 MB / 1.499 GB, free: 12.41 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/13.84, allocations: 25.34 kB / 1.499 GB, free: 12.39 MB / 1.201 GB " [Timeout remaining time 286] (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: 20.32021050993353]