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.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.001815/0.001815, allocations: 113 kB / 18.94 MB, free: 2.934 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.002271/0.002271, allocations: 208 kB / 22.25 MB, free: 5.082 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.41/1.41, allocations: 230.6 MB / 256 MB, free: 7.996 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.692/2.692, allocations: 476.7 MB / 0.7707 GB, free: 4.246 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.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: 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.001945/0.001945, allocations: 67.86 kB / 1.117 GB, free: 39.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3156, allocations: 170 MB / 1.283 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.009442/0.3251, allocations: 7.421 MB / 1.291 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008662/0.3337, allocations: 5.253 MB / 1.296 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00158/0.3353, allocations: 71.44 kB / 1.296 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00521/0.3405, allocations: 1.722 MB / 1.298 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002192/0.3427, allocations: 0.6283 MB / 1.298 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.3438, allocations: 230.3 kB / 1.298 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003067/0.3469, allocations: 1.761 MB / 1.3 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006782/0.3476, allocations: 232 kB / 1.3 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001421/0.349, allocations: 0.7466 MB / 1.301 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001471/0.3505, allocations: 0.8239 MB / 1.302 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003607/0.3508, allocations: 80 kB / 1.302 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008207/0.3516, allocations: 219.8 kB / 1.302 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005465/0.3522, allocations: 334.4 kB / 1.302 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.3535, allocations: 0.7883 MB / 1.303 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003642/0.3572, allocations: 2.466 MB / 1.306 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3572, allocations: 0 / 1.306 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3572, allocations: 0 / 1.306 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.567e-05/0.3573, allocations: 0 / 1.306 GB, free: 4.41 MB / 0.9981 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.004728/0.362, allocations: 2.263 MB / 1.308 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.3621, allocations: 12.02 kB / 1.308 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001392/0.3622, allocations: 74.72 kB / 1.308 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004357/0.3626, allocations: 207.6 kB / 1.308 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003575/0.3662, allocations: 1.618 MB / 1.31 GB, free: 124 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.181e-05/0.3663, allocations: 32.98 kB / 1.31 GB, free: 88 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.517e-05/0.3663, allocations: 32 kB / 1.31 GB, free: 56 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008123/0.3671, allocations: 446.3 kB / 1.31 GB, free: 15.61 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.3672, allocations: 0 / 1.31 GB, free: 15.61 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.66e-05/0.3672, allocations: 16 kB / 1.31 GB, free: 15.6 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.907e-05/0.3672, allocations: 24.94 kB / 1.31 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007028/0.3679, allocations: 431.6 kB / 1.311 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004221/0.3722, allocations: 2.281 MB / 1.313 GB, free: 12.73 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.3732, allocations: 497.4 kB / 1.313 GB, free: 12.23 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002971/0.3735, allocations: 189.3 kB / 1.314 GB, free: 12.05 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.3735, allocations: 4.281 kB / 1.314 GB, free: 12.04 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.3735, allocations: 34.84 kB / 1.314 GB, free: 12 MB / 1.014 GB Notification: Performance of pre-optimization done (n=34): time 2.395e-06/0.3735, allocations: 0 / 1.314 GB, free: 12 MB / 1.014 GB Notification: Performance of matching and sorting (n=34): time 0.001205/0.3747, allocations: 0.6508 MB / 1.314 GB, free: 11.34 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.3748, allocations: 59.41 kB / 1.314 GB, free: 11.27 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00441/0.3792, allocations: 2.559 MB / 1.317 GB, free: 8.684 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.68e-05/0.3793, allocations: 33.7 kB / 1.317 GB, free: 8.645 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009497/0.3802, allocations: 0.7646 MB / 1.318 GB, free: 7.875 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.3803, allocations: 111 kB / 1.318 GB, free: 7.766 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.3805, allocations: 81.58 kB / 1.318 GB, free: 7.68 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3806, allocations: 322.5 kB / 1.318 GB, free: 7.359 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.3809, allocations: 131.9 kB / 1.318 GB, free: 7.23 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.3811, allocations: 177.5 kB / 1.318 GB, free: 7.051 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004866/0.3816, allocations: 327.6 kB / 1.319 GB, free: 6.73 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3816, allocations: 0 / 1.319 GB, free: 6.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000968/0.3826, allocations: 0.5351 MB / 1.319 GB, free: 6.188 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.3826, allocations: 11.98 kB / 1.319 GB, free: 6.176 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.3826, allocations: 0 / 1.319 GB, free: 6.176 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3827, allocations: 0 / 1.319 GB, free: 6.176 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/0.383, allocations: 71.91 kB / 1.319 GB, free: 6.105 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.999e-05/0.383, allocations: 7.984 kB / 1.319 GB, free: 6.098 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005011/0.3835, allocations: 35.77 kB / 1.319 GB, free: 6.062 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.3835, allocations: 8 kB / 1.319 GB, free: 6.055 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.0009334/0.3845, allocations: 0.6886 MB / 1.32 GB, free: 5.355 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003585/0.3848, allocations: 198.7 kB / 1.32 GB, free: 5.16 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004238/0.3853, allocations: 211.2 kB / 1.32 GB, free: 4.949 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-06/0.3853, allocations: 4 kB / 1.32 GB, free: 4.945 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.3853, allocations: 0 / 1.32 GB, free: 4.945 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.3853, allocations: 3.984 kB / 1.32 GB, free: 4.941 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002606/0.3879, allocations: 1.558 MB / 1.322 GB, free: 3.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3879, allocations: 0 / 1.322 GB, free: 3.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003051/0.3882, allocations: 75.89 kB / 1.322 GB, free: 3.246 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.455e-06/0.3882, allocations: 3.984 kB / 1.322 GB, free: 3.242 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.3882, allocations: 8 kB / 1.322 GB, free: 3.234 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.3882, allocations: 0 / 1.322 GB, free: 3.234 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.3882, allocations: 7.938 kB / 1.322 GB, free: 3.227 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008905/0.3891, allocations: 0.6565 MB / 1.323 GB, free: 2.543 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007521/0.3899, allocations: 310.5 kB / 1.323 GB, free: 2.238 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002488/0.3901, allocations: 11.92 kB / 1.323 GB, free: 2.227 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004428/0.3906, allocations: 8 kB / 1.323 GB, free: 2.219 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/0.3906, allocations: 31.91 kB / 1.323 GB, free: 2.188 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.3907, allocations: 11.94 kB / 1.323 GB, free: 2.176 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003032/0.3937, allocations: 1.831 MB / 1.325 GB, free: 336 kB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3937, allocations: 0 / 1.325 GB, free: 336 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007716/0.3945, allocations: 231.8 kB / 1.325 GB, free: 104 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.001647/0.3961, allocations: 1.267 MB / 1.326 GB, free: 14.8 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006065/0.3967, allocations: 323.4 kB / 1.327 GB, free: 14.49 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3967, allocations: 0 / 1.327 GB, free: 14.49 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002521/0.397, allocations: 171.8 kB / 1.327 GB, free: 14.32 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002461/0.3994, allocations: 0.623 MB / 1.327 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02531/0.4247, allocations: 14.86 MB / 1.342 GB, free: 14.62 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002085/0.4268, allocations: 1.754 MB / 1.344 GB, free: 12.83 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0009677/0.4278, allocations: 311.3 kB / 1.344 GB, free: 12.52 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009164/0.4287, allocations: 0.593 MB / 1.344 GB, free: 11.93 MB / 1.045 GB Notification: Performance of SimCode: time 1.102e-06/0.4287, allocations: 0 / 1.344 GB, free: 11.93 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0915/0.5202, allocations: 40.23 MB / 1.384 GB, free: 4.246 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/14.36, allocations: 2.25 kB / 1.384 GB, free: 4.246 MB / 1.076 GB " [Timeout remaining time 286] (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/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: 20.94510286813602]