Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001284/0.001284, allocations: 100.3 kB / 19.72 MB, free: 428 kB / 13.93 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.001594/0.001594, allocations: 215.3 kB / 23.02 MB, free: 2.973 MB / 13.93 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 0.8953/0.8953, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.931/1.931, allocations: 0.5045 GB / 0.8104 GB, free: 2.781 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_13_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 71.89 kB / 1.177 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6635/0.6645, allocations: 180 MB / 1.353 GB, free: 1.656 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.005413/0.67, allocations: 6.502 MB / 1.359 GB, free: 11.12 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.004135/0.6741, allocations: 4.724 MB / 1.363 GB, free: 6.383 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004248/0.6745, allocations: 71.5 kB / 1.364 GB, free: 6.312 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.002318/0.6768, allocations: 1.582 MB / 1.365 GB, free: 4.723 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006419/0.6775, allocations: 0.6244 MB / 1.366 GB, free: 4.094 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003954/0.6779, allocations: 220.7 kB / 1.366 GB, free: 3.883 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.001098/0.679, allocations: 1.77 MB / 1.368 GB, free: 2.105 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000281/0.6793, allocations: 224 kB / 1.368 GB, free: 1.863 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000507/0.6798, allocations: 0.7504 MB / 1.369 GB, free: 1.109 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005598/0.6803, allocations: 0.8356 MB / 1.369 GB, free: 276 kB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 9.261e-05/0.6804, allocations: 80 kB / 1.369 GB, free: 196 kB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005314/0.6809, allocations: 199.8 kB / 1.37 GB, free: 15.99 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.0001878/0.6811, allocations: 322.5 kB / 1.37 GB, free: 15.68 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.0003372/0.6815, allocations: 0.594 MB / 1.371 GB, free: 15.08 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.6829, allocations: 2.455 MB / 1.373 GB, free: 12.62 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.6829, allocations: 0 / 1.373 GB, free: 12.62 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.774e-06/0.6829, allocations: 4 kB / 1.373 GB, free: 12.61 MB / 1.057 GB Notification: Performance of Transformations before backend: time 1.454e-05/0.6829, allocations: 0 / 1.373 GB, free: 12.61 MB / 1.057 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.001853/0.6848, allocations: 2.251 MB / 1.375 GB, free: 10.31 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.6848, allocations: 8.031 kB / 1.375 GB, free: 10.3 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.049e-05/0.6849, allocations: 86.7 kB / 1.375 GB, free: 10.21 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.685, allocations: 207.6 kB / 1.375 GB, free: 10.01 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001721/0.6868, allocations: 1.614 MB / 1.377 GB, free: 8.332 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.6868, allocations: 28.98 kB / 1.377 GB, free: 8.305 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/0.6868, allocations: 36 kB / 1.377 GB, free: 8.27 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004583/0.6873, allocations: 476 kB / 1.378 GB, free: 7.793 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.6873, allocations: 0 / 1.378 GB, free: 7.793 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.6873, allocations: 15.98 kB / 1.378 GB, free: 7.777 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-05/0.6873, allocations: 24.98 kB / 1.378 GB, free: 7.75 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004182/0.6878, allocations: 419.7 kB / 1.378 GB, free: 7.344 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001786/0.6895, allocations: 1.785 MB / 1.38 GB, free: 5.5 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006205/0.6902, allocations: 489.1 kB / 1.38 GB, free: 5.012 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.6903, allocations: 193.3 kB / 1.38 GB, free: 4.82 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.6904, allocations: 4.281 kB / 1.38 GB, free: 4.816 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.6904, allocations: 34.84 kB / 1.38 GB, free: 4.773 MB / 1.057 GB Notification: Performance of pre-optimization done (n=34): time 1.583e-06/0.6904, allocations: 4 kB / 1.38 GB, free: 4.77 MB / 1.057 GB Notification: Performance of matching and sorting (n=34): time 0.0006326/0.691, allocations: 0.6513 MB / 1.381 GB, free: 4.113 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.691, allocations: 55.41 kB / 1.381 GB, free: 4.047 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00206/0.6931, allocations: 2.556 MB / 1.384 GB, free: 1.461 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.6931, allocations: 33.7 kB / 1.384 GB, free: 1.422 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007502/0.6939, allocations: 0.7685 MB / 1.384 GB, free: 0.6484 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 6.545e-05/0.6939, allocations: 119 kB / 1.385 GB, free: 0.5312 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.792e-05/0.694, allocations: 73.64 kB / 1.385 GB, free: 464 kB / 1.057 GB Notification: Performance of setup shared object (initialization): time 9.231e-05/0.6941, allocations: 326.5 kB / 1.385 GB, free: 132 kB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.6943, allocations: 139.9 kB / 1.385 GB, free: 15.99 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.6944, allocations: 200.7 kB / 1.385 GB, free: 15.79 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003194/0.6948, allocations: 325.6 kB / 1.386 GB, free: 15.46 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.6948, allocations: 0 / 1.386 GB, free: 15.46 MB / 1.073 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004785/0.6952, allocations: 0.5391 MB / 1.386 GB, free: 14.92 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.6953, allocations: 8.031 kB / 1.386 GB, free: 14.91 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.6953, allocations: 0 / 1.386 GB, free: 14.91 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.6953, allocations: 4 kB / 1.386 GB, free: 14.91 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.6955, allocations: 75.89 kB / 1.386 GB, free: 14.83 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.6955, allocations: 0 / 1.386 GB, free: 14.83 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.6957, allocations: 27.78 kB / 1.386 GB, free: 14.8 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.6957, allocations: 12 kB / 1.386 GB, free: 14.79 MB / 1.073 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.0005291/0.6962, allocations: 0.6891 MB / 1.387 GB, free: 14.09 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.6963, allocations: 198.7 kB / 1.387 GB, free: 13.9 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/0.6965, allocations: 219.2 kB / 1.387 GB, free: 13.68 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.6965, allocations: 4 kB / 1.387 GB, free: 13.68 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.6965, allocations: 0 / 1.387 GB, free: 13.68 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.6965, allocations: 0 / 1.387 GB, free: 13.68 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.6979, allocations: 1.448 MB / 1.389 GB, free: 12.16 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.6979, allocations: 0 / 1.389 GB, free: 12.16 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.6981, allocations: 75.89 kB / 1.389 GB, free: 12.09 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.6981, allocations: 0 / 1.389 GB, free: 12.09 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.6981, allocations: 11.94 kB / 1.389 GB, free: 12.08 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.6981, allocations: 8.094 kB / 1.389 GB, free: 12.07 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.6981, allocations: 7.875 kB / 1.389 GB, free: 12.06 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005121/0.6986, allocations: 0.6486 MB / 1.389 GB, free: 11.39 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003488/0.6989, allocations: 314.5 kB / 1.39 GB, free: 11.08 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.853e-05/0.699, allocations: 8 kB / 1.39 GB, free: 11.07 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.6992, allocations: 11.98 kB / 1.39 GB, free: 11.06 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.6993, allocations: 23.91 kB / 1.39 GB, free: 11.04 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.6993, allocations: 4 kB / 1.39 GB, free: 11.03 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.001782/0.7011, allocations: 1.835 MB / 1.392 GB, free: 9.18 MB / 1.073 GB Notification: Performance of sort global known variables: time 8e-08/0.7011, allocations: 3.938 kB / 1.392 GB, free: 9.176 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0003729/0.7014, allocations: 231.8 kB / 1.392 GB, free: 8.949 MB / 1.073 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.0008534/0.7023, allocations: 1.268 MB / 1.393 GB, free: 7.652 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.00037/0.7027, allocations: 327.8 kB / 1.393 GB, free: 7.332 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7027, allocations: 4 kB / 1.393 GB, free: 7.328 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.7028, allocations: 163.7 kB / 1.393 GB, free: 7.168 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.704, allocations: 0.6355 MB / 1.394 GB, free: 6.551 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/0.7169, allocations: 14.85 MB / 1.409 GB, free: 7.473 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007922/0.7177, allocations: 1.178 MB / 1.41 GB, free: 6.254 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0004973/0.7182, allocations: 315.2 kB / 1.41 GB, free: 5.941 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004763/0.7187, allocations: 0.593 MB / 1.411 GB, free: 5.348 MB / 1.089 GB Notification: Performance of SimCode: time 8.31e-07/0.7187, allocations: 4 kB / 1.411 GB, free: 5.344 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1091/0.8278, allocations: 43.04 MB / 1.453 GB, free: 11.03 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.525/8.353, allocations: 4 kB / 1.453 GB, free: 11.03 MB / 1.135 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_13_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_13_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_13_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu) > Buildings_13_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_fmpy.pipe ; mkfifo Buildings_13_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu) > Buildings_13_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.007161208428442]