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.0008001/0.0008001, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 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.0008653/0.0008653, allocations: 173.6 kB / 23.24 MB, free: 1.32 MB / 18.57 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.8661/0.8661, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.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.826/1.826, allocations: 389.6 MB / 0.6343 GB, free: 12.58 MB / 0.6042 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 1.383e-06/1.383e-06, allocations: 0 / 1.001 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.608e-06/1.099e-05, allocations: 2.281 kB / 1.001 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.005279/0.00529, allocations: 6.505 MB / 1.007 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.004089/0.009378, allocations: 4.732 MB / 1.012 GB, free: 2.145 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004185/0.009797, allocations: 71.44 kB / 1.012 GB, free: 2.074 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.002206/0.012, allocations: 1.601 MB / 1.013 GB, free: 476 kB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0006223/0.01263, allocations: 0.6396 MB / 1.014 GB, free: 15.82 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003594/0.01298, allocations: 227.4 kB / 1.014 GB, free: 15.6 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.001083/0.01407, allocations: 1.836 MB / 1.016 GB, free: 13.75 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002808/0.01435, allocations: 232 kB / 1.016 GB, free: 13.5 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000912/0.01526, allocations: 0.9933 MB / 1.017 GB, free: 12.51 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005142/0.01577, allocations: 0.6895 MB / 1.018 GB, free: 11.82 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 9.307e-05/0.01587, allocations: 80 kB / 1.018 GB, free: 11.74 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000292/0.01616, allocations: 203.7 kB / 1.018 GB, free: 11.54 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001997/0.01636, allocations: 350.4 kB / 1.018 GB, free: 11.2 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0003153/0.01668, allocations: 450.7 kB / 1.019 GB, free: 10.75 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001377/0.01805, allocations: 2.371 MB / 1.021 GB, free: 8.375 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.01805, allocations: 0 / 1.021 GB, free: 8.375 MB / 0.9792 GB Notification: Performance of FrontEnd: time 7.01e-07/0.01805, allocations: 4 kB / 1.021 GB, free: 8.371 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.01807, allocations: 0 / 1.021 GB, free: 8.371 MB / 0.9792 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.001801/0.01987, allocations: 2.232 MB / 1.023 GB, free: 6.09 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.0199, allocations: 12.75 kB / 1.023 GB, free: 6.078 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.068e-05/0.01996, allocations: 86.64 kB / 1.023 GB, free: 5.984 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.02011, allocations: 211.6 kB / 1.024 GB, free: 5.777 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0018/0.02191, allocations: 1.602 MB / 1.025 GB, free: 4.117 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.02193, allocations: 33.11 kB / 1.025 GB, free: 4.086 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.201e-05/0.02196, allocations: 36 kB / 1.025 GB, free: 4.051 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004569/0.02241, allocations: 480 kB / 1.026 GB, free: 3.574 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.02243, allocations: 0 / 1.026 GB, free: 3.574 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.02245, allocations: 15.98 kB / 1.026 GB, free: 3.559 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.85e-05/0.02248, allocations: 24.98 kB / 1.026 GB, free: 3.535 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004173/0.02289, allocations: 419.7 kB / 1.026 GB, free: 3.125 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00173/0.02462, allocations: 1.777 MB / 1.028 GB, free: 1.289 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005977/0.02522, allocations: 493.1 kB / 1.028 GB, free: 0.7969 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.0254, allocations: 195.7 kB / 1.029 GB, free: 0.6055 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.02542, allocations: 4.281 kB / 1.029 GB, free: 0.6016 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.02544, allocations: 38.84 kB / 1.029 GB, free: 0.5547 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=34): time 1.493e-06/0.02544, allocations: 0 / 1.029 GB, free: 0.5547 MB / 0.9792 GB Notification: Performance of matching and sorting (n=34): time 0.0006141/0.02605, allocations: 0.6476 MB / 1.029 GB, free: 15.9 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.02608, allocations: 59.39 kB / 1.029 GB, free: 15.83 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002243/0.02832, allocations: 2.548 MB / 1.032 GB, free: 13.25 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.02834, allocations: 37.7 kB / 1.032 GB, free: 13.21 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004788/0.02882, allocations: 0.7685 MB / 1.033 GB, free: 12.43 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.475e-05/0.02887, allocations: 118.9 kB / 1.033 GB, free: 12.32 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.774e-05/0.02894, allocations: 73.5 kB / 1.033 GB, free: 12.24 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 7.229e-05/0.02901, allocations: 326 kB / 1.033 GB, free: 11.91 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.02915, allocations: 131.9 kB / 1.033 GB, free: 11.79 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.02932, allocations: 201.4 kB / 1.033 GB, free: 11.58 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003/0.02962, allocations: 329 kB / 1.034 GB, free: 11.25 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.02962, allocations: 0 / 1.034 GB, free: 11.25 MB / 0.9948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004476/0.03007, allocations: 0.5351 MB / 1.034 GB, free: 10.71 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.03008, allocations: 18.31 kB / 1.034 GB, free: 10.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.03009, allocations: 0 / 1.034 GB, free: 10.7 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.0301, allocations: 3.984 kB / 1.034 GB, free: 10.69 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.03027, allocations: 75.91 kB / 1.034 GB, free: 10.62 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.03028, allocations: 4 kB / 1.034 GB, free: 10.61 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.03047, allocations: 31.77 kB / 1.034 GB, free: 10.58 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.03048, allocations: 8 kB / 1.034 GB, free: 10.57 MB / 0.9948 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.0005035/0.03098, allocations: 0.6873 MB / 1.035 GB, free: 9.879 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.03111, allocations: 198.6 kB / 1.035 GB, free: 9.684 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001733/0.03128, allocations: 219.2 kB / 1.035 GB, free: 9.465 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.03128, allocations: 4 kB / 1.035 GB, free: 9.461 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.03129, allocations: 4 kB / 1.035 GB, free: 9.457 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.03129, allocations: 3.984 kB / 1.035 GB, free: 9.453 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.0325, allocations: 1.436 MB / 1.037 GB, free: 7.953 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.03251, allocations: 0 / 1.037 GB, free: 7.953 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.03266, allocations: 79.89 kB / 1.037 GB, free: 7.875 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.03266, allocations: 4 kB / 1.037 GB, free: 7.871 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.03267, allocations: 4 kB / 1.037 GB, free: 7.867 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.03267, allocations: 8.094 kB / 1.037 GB, free: 7.859 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.03268, allocations: 0 / 1.037 GB, free: 7.859 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004507/0.03313, allocations: 0.6563 MB / 1.038 GB, free: 7.176 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003466/0.03347, allocations: 306.5 kB / 1.038 GB, free: 6.875 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.68e-05/0.03357, allocations: 8 kB / 1.038 GB, free: 6.867 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.03378, allocations: 8 kB / 1.038 GB, free: 6.859 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.706e-05/0.03381, allocations: 27.89 kB / 1.038 GB, free: 6.832 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.03382, allocations: 12 kB / 1.038 GB, free: 6.82 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001745/0.03556, allocations: 1.827 MB / 1.04 GB, free: 4.977 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.03556, allocations: 0 / 1.04 GB, free: 4.977 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003598/0.03592, allocations: 231.7 kB / 1.04 GB, free: 4.75 MB / 0.9948 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.0008081/0.03673, allocations: 1.268 MB / 1.041 GB, free: 3.453 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0003475/0.03708, allocations: 328.7 kB / 1.042 GB, free: 3.133 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.03708, allocations: 0 / 1.042 GB, free: 3.133 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.03723, allocations: 164.2 kB / 1.042 GB, free: 2.973 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.03843, allocations: 0.6305 MB / 1.042 GB, free: 2.359 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3921/0.4305, allocations: 14.92 MB / 1.057 GB, free: 76.89 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008736/0.4314, allocations: 1.174 MB / 1.058 GB, free: 76.58 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0005334/0.4319, allocations: 313.2 kB / 1.058 GB, free: 76.57 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003906/0.4323, allocations: 0.5976 MB / 1.059 GB, free: 76.1 MB / 0.9948 GB Notification: Performance of SimCode: time 1.292e-06/0.4323, allocations: 0 / 1.059 GB, free: 76.1 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1082/0.5405, allocations: 42.97 MB / 1.101 GB, free: 68.97 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.937/8.477, allocations: 9.406 kB / 1.101 GB, free: 68.96 MB / 0.9948 GB " [Timeout remaining time 291] (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: 12.831014498136938]