Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 102.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001864/0.001864, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.685/2.685, allocations: 476.7 MB / 0.7611 GB, free: 15.85 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 67.89 kB / 1.104 GB, free: 6.531 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9233/0.9253, allocations: 168.7 MB / 1.269 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.007808/0.9331, allocations: 7.374 MB / 1.276 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008385/0.9415, allocations: 5.215 MB / 1.281 GB, free: 14.71 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002199/0.9437, allocations: 56.72 kB / 1.281 GB, free: 14.7 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005594/0.9493, allocations: 1.687 MB / 1.283 GB, free: 13.91 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002675/0.952, allocations: 0.6091 MB / 1.283 GB, free: 13.5 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.953, allocations: 229.2 kB / 1.284 GB, free: 13.39 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003231/0.9562, allocations: 1.759 MB / 1.285 GB, free: 12.57 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006598/0.9569, allocations: 423.3 kB / 1.286 GB, free: 12.41 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001248/0.9581, allocations: 0.7051 MB / 1.286 GB, free: 12.09 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001281/0.9594, allocations: 0.8307 MB / 1.287 GB, free: 11.71 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001989/0.9596, allocations: 80.12 kB / 1.287 GB, free: 11.71 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006072/0.9602, allocations: 203.8 kB / 1.288 GB, free: 11.67 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003958/0.9606, allocations: 338.3 kB / 1.288 GB, free: 11.49 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009476/0.9616, allocations: 0.7904 MB / 1.289 GB, free: 10.98 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003622/0.9652, allocations: 2.459 MB / 1.291 GB, free: 10.03 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.9652, allocations: 4 kB / 1.291 GB, free: 10.03 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9652, allocations: 0 / 1.291 GB, free: 10.03 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.213e-05/0.9653, allocations: 2.781 kB / 1.291 GB, free: 10.03 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.004409/0.9697, allocations: 2.325 MB / 1.293 GB, free: 8.445 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.9697, allocations: 12.25 kB / 1.293 GB, free: 8.445 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001124/0.9698, allocations: 83.94 kB / 1.293 GB, free: 8.375 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002968/0.9701, allocations: 212.3 kB / 1.294 GB, free: 8.258 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0034/0.9735, allocations: 1.691 MB / 1.295 GB, free: 7.363 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.636e-05/0.9736, allocations: 32.19 kB / 1.295 GB, free: 7.348 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.965e-05/0.9736, allocations: 37.03 kB / 1.295 GB, free: 7.336 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.9747, allocations: 445.5 kB / 1.296 GB, free: 7.18 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.9747, allocations: 0 / 1.296 GB, free: 7.18 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.366e-05/0.9747, allocations: 15.56 kB / 1.296 GB, free: 7.168 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.929e-05/0.9748, allocations: 20.64 kB / 1.296 GB, free: 7.168 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007923/0.9756, allocations: 429.7 kB / 1.296 GB, free: 7.051 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004321/0.9799, allocations: 2.296 MB / 1.298 GB, free: 5.746 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.981, allocations: 0.49 MB / 1.299 GB, free: 5.594 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/0.9813, allocations: 194.6 kB / 1.299 GB, free: 5.531 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.9813, allocations: 4.734 kB / 1.299 GB, free: 5.531 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.9813, allocations: 36.19 kB / 1.299 GB, free: 5.488 MB / 1.014 GB Notification: Performance of pre-optimization done (n=34): time 4.649e-06/0.9813, allocations: 3.984 kB / 1.299 GB, free: 5.484 MB / 1.014 GB Notification: Performance of matching and sorting (n=34): time 0.001277/0.9826, allocations: 0.6502 MB / 1.3 GB, free: 5.215 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.9827, allocations: 56.02 kB / 1.3 GB, free: 5.152 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004205/0.9869, allocations: 2.556 MB / 1.302 GB, free: 4.32 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.896e-05/0.987, allocations: 36.02 kB / 1.302 GB, free: 4.281 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008399/0.9878, allocations: 0.765 MB / 1.303 GB, free: 3.68 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.988, allocations: 126.9 kB / 1.303 GB, free: 3.578 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.9881, allocations: 69.38 kB / 1.303 GB, free: 3.539 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.9882, allocations: 322.1 kB / 1.304 GB, free: 3.227 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/0.9885, allocations: 134.5 kB / 1.304 GB, free: 3.191 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002951/0.9888, allocations: 178.7 kB / 1.304 GB, free: 3.129 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004931/0.9893, allocations: 332.6 kB / 1.304 GB, free: 3.008 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.9893, allocations: 0 / 1.304 GB, free: 3.008 MB / 1.014 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001038/0.9903, allocations: 0.5427 MB / 1.305 GB, free: 2.766 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.9903, allocations: 5.891 kB / 1.305 GB, free: 2.766 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.9903, allocations: 3.938 kB / 1.305 GB, free: 2.762 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.9904, allocations: 2.438 kB / 1.305 GB, free: 2.762 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000357/0.9907, allocations: 76.66 kB / 1.305 GB, free: 2.758 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.9907, allocations: 0.9688 kB / 1.305 GB, free: 2.758 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005902/0.9913, allocations: 32.53 kB / 1.305 GB, free: 2.734 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.9913, allocations: 5.844 kB / 1.305 GB, free: 2.734 MB / 1.014 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.001094/0.9924, allocations: 0.6957 MB / 1.306 GB, free: 2.43 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002728/0.9927, allocations: 196.6 kB / 1.306 GB, free: 2.32 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003908/0.9931, allocations: 212.5 kB / 1.306 GB, free: 2.23 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.9931, allocations: 3.938 kB / 1.306 GB, free: 2.23 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.9931, allocations: 1.094 kB / 1.306 GB, free: 2.23 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.9931, allocations: 1.875 kB / 1.306 GB, free: 2.23 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002735/0.9959, allocations: 1.571 MB / 1.307 GB, free: 1.477 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.9959, allocations: 1.984 kB / 1.307 GB, free: 1.477 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003009/0.9962, allocations: 74.3 kB / 1.308 GB, free: 1.473 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.9962, allocations: 1.625 kB / 1.308 GB, free: 1.473 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.9962, allocations: 6.688 kB / 1.308 GB, free: 1.469 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.9962, allocations: 7.172 kB / 1.308 GB, free: 1.465 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.9962, allocations: 5.219 kB / 1.308 GB, free: 1.461 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008959/0.9971, allocations: 0.6468 MB / 1.308 GB, free: 1.09 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008253/0.9979, allocations: 388.4 kB / 1.309 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/0.9981, allocations: 8.438 kB / 1.309 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003852/0.9985, allocations: 8.062 kB / 1.309 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.9985, allocations: 25.28 kB / 1.309 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.9985, allocations: 14.91 kB / 1.309 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003086/1.002, allocations: 1.832 MB / 1.31 GB, free: 184 kB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/1.002, allocations: 0 / 1.31 GB, free: 184 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009083/1.003, allocations: 224.1 kB / 1.311 GB, free: 164 kB / 1.014 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.001574/1.004, allocations: 1.269 MB / 1.312 GB, free: 15.23 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006515/1.005, allocations: 325.7 kB / 1.312 GB, free: 15.14 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.005, allocations: 1.312 kB / 1.312 GB, free: 15.14 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000249/1.005, allocations: 160.7 kB / 1.312 GB, free: 15.1 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002496/1.008, allocations: 0.6358 MB / 1.313 GB, free: 14.88 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02702/1.035, allocations: 14.87 MB / 1.327 GB, free: 9.258 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001848/1.036, allocations: 1.758 MB / 1.329 GB, free: 8.344 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001234/1.038, allocations: 315.2 kB / 1.329 GB, free: 8.305 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008608/1.038, allocations: 0.5963 MB / 1.33 GB, free: 7.824 MB / 1.029 GB Notification: Performance of SimCode: time 7.92e-07/1.038, allocations: 0 / 1.33 GB, free: 7.824 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08882/1.127, allocations: 39.95 MB / 1.369 GB, free: 14.84 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.95, allocations: 10.41 kB / 1.369 GB, free: 14.83 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 17.99710242403671]