Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001576/0.001576, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.001912/0.001912, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.405/1.405, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.647/2.647, allocations: 476.7 MB / 0.7715 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_11_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.001942/0.001942, allocations: 64.8 kB / 1.118 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3079, allocations: 170 MB / 1.284 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.009001/0.3169, allocations: 7.314 MB / 1.291 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008652/0.3256, allocations: 5.616 MB / 1.297 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/0.3273, allocations: 75.44 kB / 1.297 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005277/0.3326, allocations: 1.734 MB / 1.299 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0022/0.3348, allocations: 0.6321 MB / 1.299 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.3362, allocations: 394.1 kB / 1.3 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004038/0.3402, allocations: 3.01 MB / 1.303 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005626/0.3408, allocations: 222.5 kB / 1.303 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002088/0.3428, allocations: 1.137 MB / 1.304 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002556/0.3454, allocations: 1.682 MB / 1.306 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005393/0.3459, allocations: 196 kB / 1.306 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008942/0.3468, allocations: 335.8 kB / 1.306 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007065/0.3475, allocations: 0.7126 MB / 1.307 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001538/0.3491, allocations: 1.209 MB / 1.308 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004396/0.3535, allocations: 3.713 MB / 1.312 GB, free: 15.62 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.3535, allocations: 0 / 1.312 GB, free: 15.62 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3535, allocations: 0 / 1.312 GB, free: 15.62 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.307e-05/0.3536, allocations: 0 / 1.312 GB, free: 15.62 MB / 1.014 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.007963/0.3615, allocations: 3.471 MB / 1.315 GB, free: 12.1 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.3616, allocations: 12.03 kB / 1.315 GB, free: 12.09 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.623e-05/0.3616, allocations: 9.188 kB / 1.315 GB, free: 12.08 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001144/0.3617, allocations: 94.7 kB / 1.315 GB, free: 11.98 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004879/0.3622, allocations: 255.3 kB / 1.315 GB, free: 11.73 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00363/0.3658, allocations: 1.917 MB / 1.317 GB, free: 9.754 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.934e-05/0.3659, allocations: 64.94 kB / 1.317 GB, free: 9.691 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002343/0.3661, allocations: 88 kB / 1.317 GB, free: 9.605 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.3673, allocations: 0.7168 MB / 1.318 GB, free: 8.883 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.3673, allocations: 7.938 kB / 1.318 GB, free: 8.875 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.676e-05/0.3673, allocations: 20 kB / 1.318 GB, free: 8.855 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.3673, allocations: 12 kB / 1.318 GB, free: 8.844 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/0.3688, allocations: 0.9758 MB / 1.319 GB, free: 7.867 MB / 1.014 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.01149/0.3803, allocations: 4.487 MB / 1.323 GB, free: 3.25 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.3817, allocations: 0.7382 MB / 1.324 GB, free: 2.5 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006557/0.3824, allocations: 476.5 kB / 1.325 GB, free: 2.031 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.52e-05/0.3824, allocations: 7.938 kB / 1.325 GB, free: 2.023 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.3824, allocations: 34.56 kB / 1.325 GB, free: 1.98 MB / 1.014 GB Notification: Performance of pre-optimization done (n=44): time 3.216e-06/0.3824, allocations: 0 / 1.325 GB, free: 1.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=44): time 0.01022/0.3927, allocations: 3.375 MB / 1.328 GB, free: 14.59 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.3927, allocations: 59.39 kB / 1.328 GB, free: 14.52 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004554/0.3973, allocations: 2.953 MB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0004526/0.3977, allocations: 49.7 kB / 1.331 GB, free: 11.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009935/0.3987, allocations: 0.8557 MB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002434/0.3989, allocations: 174.6 kB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006197/0.3996, allocations: 335.5 kB / 1.332 GB, free: 10.13 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.3997, allocations: 365.9 kB / 1.333 GB, free: 9.766 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001955/0.4017, allocations: 1.366 MB / 1.334 GB, free: 8.398 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002319/0.404, allocations: 1.624 MB / 1.335 GB, free: 6.762 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002769/0.4068, allocations: 1.922 MB / 1.337 GB, free: 4.832 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.4068, allocations: 0 / 1.337 GB, free: 4.832 MB / 1.029 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.007721/0.4145, allocations: 4.075 MB / 1.341 GB, free: 0.7422 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.4145, allocations: 6.5 kB / 1.341 GB, free: 0.7383 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.4146, allocations: 4 kB / 1.341 GB, free: 0.7344 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00327/0.4178, allocations: 1.101 MB / 1.342 GB, free: 15.63 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.4192, allocations: 223.7 kB / 1.343 GB, free: 15.41 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01233/0.4315, allocations: 7.868 MB / 1.35 GB, free: 7.422 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/0.4338, allocations: 262.5 kB / 1.351 GB, free: 7.164 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002882/0.4341, allocations: 40 kB / 1.351 GB, free: 7.125 MB / 1.045 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.001385/0.4355, allocations: 0.8095 MB / 1.351 GB, free: 6.305 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004328/0.4359, allocations: 222.5 kB / 1.352 GB, free: 6.086 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005305/0.4365, allocations: 254.7 kB / 1.352 GB, free: 5.828 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.4365, allocations: 4 kB / 1.352 GB, free: 5.824 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.028e-05/0.4365, allocations: 8 kB / 1.352 GB, free: 5.816 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/0.4365, allocations: 7.969 kB / 1.352 GB, free: 5.809 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/0.4381, allocations: 1.196 MB / 1.353 GB, free: 4.57 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.4381, allocations: 0 / 1.353 GB, free: 4.57 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.676e-05/0.4382, allocations: 16.03 kB / 1.353 GB, free: 4.555 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003012/0.4412, allocations: 1.023 MB / 1.354 GB, free: 3.527 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.713e-05/0.4413, allocations: 4 kB / 1.354 GB, free: 3.523 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01221/0.4535, allocations: 7.839 MB / 1.362 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4535, allocations: 0 / 1.362 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004071/0.4575, allocations: 1.942 MB / 1.364 GB, free: 9.605 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/0.4586, allocations: 378.3 kB / 1.364 GB, free: 9.234 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002397/0.4589, allocations: 4 kB / 1.364 GB, free: 9.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006253/0.4595, allocations: 35.86 kB / 1.364 GB, free: 9.195 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/0.4597, allocations: 47.91 kB / 1.364 GB, free: 9.148 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.308e-05/0.4597, allocations: 8 kB / 1.364 GB, free: 9.141 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003091/0.4628, allocations: 2.04 MB / 1.366 GB, free: 7.094 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4628, allocations: 0 / 1.366 GB, free: 7.094 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00186/0.4646, allocations: 0.6129 MB / 1.367 GB, free: 6.48 MB / 1.061 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.004515/0.4692, allocations: 2.548 MB / 1.369 GB, free: 3.906 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.005178/0.4743, allocations: 2.526 MB / 1.372 GB, free: 1.367 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.4743, allocations: 0 / 1.372 GB, free: 1.367 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002302/0.4767, allocations: 1.016 MB / 1.373 GB, free: 336 kB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002937/0.4796, allocations: 0.6744 MB / 1.373 GB, free: 15.67 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04287/0.5225, allocations: 25.24 MB / 1.398 GB, free: 6.215 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001741/0.5242, allocations: 1.915 MB / 1.4 GB, free: 4.266 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001108/0.5253, allocations: 329.8 kB / 1.4 GB, free: 3.938 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/0.5264, allocations: 0.7063 MB / 1.401 GB, free: 3.23 MB / 1.092 GB Notification: Performance of SimCode: time 8.02e-07/0.5264, allocations: 0 / 1.401 GB, free: 3.23 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1105/0.6369, allocations: 62.94 MB / 1.462 GB, free: 4.945 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.89/15.53, allocations: 10.12 kB / 1.462 GB, free: 4.938 MB / 1.154 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.fmu > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.161347082990687]