Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.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.001286/0.001286, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.00144/0.00144, allocations: 221.8 kB / 23.03 MB, free: 4.945 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.388/1.388, allocations: 230.6 MB / 256.8 MB, free: 7.812 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 3.042/3.042, allocations: 0.49 GB / 0.7959 GB, free: 35.58 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.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",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.001924/0.001924, allocations: 67.03 kB / 1.155 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3315, allocations: 176.1 MB / 1.327 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.008306/0.3399, allocations: 6.501 MB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007238/0.3471, allocations: 4.71 MB / 1.338 GB, free: 6.184 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.3482, allocations: 79.44 kB / 1.338 GB, free: 6.105 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00428/0.3525, allocations: 1.57 MB / 1.339 GB, free: 4.527 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001684/0.3542, allocations: 0.6166 MB / 1.34 GB, free: 3.906 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00084/0.355, allocations: 239.5 kB / 1.34 GB, free: 3.672 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002224/0.3573, allocations: 1.769 MB / 1.342 GB, free: 1.898 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004542/0.3577, allocations: 232 kB / 1.342 GB, free: 1.645 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009364/0.3586, allocations: 0.7271 MB / 1.343 GB, free: 0.9141 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.3597, allocations: 0.8395 MB / 1.344 GB, free: 72 kB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001845/0.3599, allocations: 80.05 kB / 1.344 GB, free: 15.99 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005161/0.3604, allocations: 199.8 kB / 1.344 GB, free: 15.8 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003374/0.3608, allocations: 338.4 kB / 1.344 GB, free: 15.46 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0006514/0.3614, allocations: 0.5901 MB / 1.345 GB, free: 14.87 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002528/0.3639, allocations: 2.462 MB / 1.347 GB, free: 12.4 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3639, allocations: 0 / 1.347 GB, free: 12.4 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3639, allocations: 0 / 1.347 GB, free: 12.4 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.874e-05/0.364, allocations: 0 / 1.347 GB, free: 12.4 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.003106/0.3671, allocations: 2.263 MB / 1.349 GB, free: 10.09 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.3671, allocations: 16.02 kB / 1.349 GB, free: 10.07 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.497e-05/0.3671, allocations: 9.188 kB / 1.349 GB, free: 10.06 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.827e-05/0.3672, allocations: 70.72 kB / 1.349 GB, free: 9.984 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002709/0.3675, allocations: 211.6 kB / 1.35 GB, free: 9.777 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002575/0.3701, allocations: 1.61 MB / 1.351 GB, free: 8.109 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.134e-05/0.3701, allocations: 25 kB / 1.351 GB, free: 8.086 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.328e-05/0.3702, allocations: 39.98 kB / 1.351 GB, free: 8.047 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007323/0.3709, allocations: 472 kB / 1.352 GB, free: 7.578 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.3709, allocations: 0 / 1.352 GB, free: 7.578 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.521e-05/0.3709, allocations: 12 kB / 1.352 GB, free: 7.566 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.436e-05/0.371, allocations: 28.92 kB / 1.352 GB, free: 7.535 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006343/0.3716, allocations: 423.7 kB / 1.352 GB, free: 7.121 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002929/0.3746, allocations: 1.785 MB / 1.354 GB, free: 5.27 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009732/0.3755, allocations: 488.6 kB / 1.354 GB, free: 4.781 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002763/0.3758, allocations: 191.5 kB / 1.355 GB, free: 4.594 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.3758, allocations: 4.281 kB / 1.355 GB, free: 4.59 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.3759, allocations: 42.84 kB / 1.355 GB, free: 4.539 MB / 1.045 GB Notification: Performance of pre-optimization done (n=34): time 2.404e-06/0.3759, allocations: 0 / 1.355 GB, free: 4.539 MB / 1.045 GB Notification: Performance of matching and sorting (n=34): time 0.001007/0.3769, allocations: 0.6541 MB / 1.355 GB, free: 3.879 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.3769, allocations: 55.41 kB / 1.355 GB, free: 3.812 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00324/0.3802, allocations: 2.552 MB / 1.358 GB, free: 1.23 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/0.3802, allocations: 33.7 kB / 1.358 GB, free: 1.191 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007497/0.381, allocations: 0.7646 MB / 1.359 GB, free: 432 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.3811, allocations: 122.9 kB / 1.359 GB, free: 308 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.3812, allocations: 65.66 kB / 1.359 GB, free: 236 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.3813, allocations: 326.5 kB / 1.359 GB, free: 15.91 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.3815, allocations: 139.9 kB / 1.359 GB, free: 15.77 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/0.3818, allocations: 207.1 kB / 1.359 GB, free: 15.55 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004506/0.3823, allocations: 325.1 kB / 1.36 GB, free: 15.23 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3823, allocations: 0 / 1.36 GB, free: 15.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007654/0.383, allocations: 0.5352 MB / 1.36 GB, free: 14.69 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.383, allocations: 4 kB / 1.36 GB, free: 14.69 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.383, allocations: 0 / 1.36 GB, free: 14.69 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.3831, allocations: 4 kB / 1.36 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/0.3834, allocations: 75.89 kB / 1.36 GB, free: 14.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.3834, allocations: 0 / 1.36 GB, free: 14.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003808/0.3838, allocations: 35.77 kB / 1.36 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.3838, allocations: 12 kB / 1.36 GB, free: 14.56 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007898/0.3846, allocations: 0.693 MB / 1.361 GB, free: 13.86 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/0.3848, allocations: 194.7 kB / 1.361 GB, free: 13.67 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002968/0.3851, allocations: 211.2 kB / 1.361 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3851, allocations: 4 kB / 1.361 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.3851, allocations: 0 / 1.361 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3851, allocations: 3.938 kB / 1.361 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001976/0.3871, allocations: 1.448 MB / 1.363 GB, free: 11.94 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.3871, allocations: 8.094 kB / 1.363 GB, free: 11.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002986/0.3874, allocations: 75.89 kB / 1.363 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.3874, allocations: 0 / 1.363 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.3874, allocations: 8 kB / 1.363 GB, free: 11.85 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.3874, allocations: 7.938 kB / 1.363 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.3874, allocations: 0 / 1.363 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007519/0.3882, allocations: 0.6476 MB / 1.364 GB, free: 11.16 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005463/0.3887, allocations: 306.5 kB / 1.364 GB, free: 10.86 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.3889, allocations: 8 kB / 1.364 GB, free: 10.86 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003685/0.3893, allocations: 15.88 kB / 1.364 GB, free: 10.84 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.3893, allocations: 27.95 kB / 1.364 GB, free: 10.81 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.3893, allocations: 4 kB / 1.364 GB, free: 10.81 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00242/0.3917, allocations: 1.831 MB / 1.366 GB, free: 8.961 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3917, allocations: 0 / 1.366 GB, free: 8.961 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006561/0.3924, allocations: 235.7 kB / 1.366 GB, free: 8.73 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001407/0.3938, allocations: 1.274 MB / 1.367 GB, free: 7.426 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005427/0.3944, allocations: 323.5 kB / 1.367 GB, free: 7.109 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3944, allocations: 0 / 1.367 GB, free: 7.109 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002235/0.3946, allocations: 159.8 kB / 1.368 GB, free: 6.953 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002203/0.3968, allocations: 0.6262 MB / 1.368 GB, free: 6.344 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0206/0.4174, allocations: 14.87 MB / 1.383 GB, free: 7.254 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001222/0.4186, allocations: 1.174 MB / 1.384 GB, free: 6.039 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008692/0.4195, allocations: 315.2 kB / 1.384 GB, free: 5.727 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007324/0.4202, allocations: 0.5969 MB / 1.385 GB, free: 5.129 MB / 1.076 GB Notification: Performance of SimCode: time 1.213e-06/0.4202, allocations: 0 / 1.385 GB, free: 5.129 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07749/0.4977, allocations: 42.59 MB / 1.426 GB, free: 11.38 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.61/14.11, allocations: 4 kB / 1.426 GB, free: 11.38 MB / 1.123 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat --tempDir=temp_Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.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.882825685082935]