Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001247/0.001247, allocations: 101.3 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.001374/0.001374, allocations: 224 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.384/1.384, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.142/3.142, allocations: 0.5003 GB / 0.8062 GB, free: 28.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_latest_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.001951/0.001951, allocations: 64.64 kB / 1.171 GB, free: 19.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3497, allocations: 179 MB / 1.345 GB, free: 15.85 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.008489/0.3582, allocations: 6.489 MB / 1.352 GB, free: 9.312 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.007138/0.3653, allocations: 4.71 MB / 1.356 GB, free: 4.586 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009337/0.3662, allocations: 67.5 kB / 1.356 GB, free: 4.52 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004154/0.3704, allocations: 1.59 MB / 1.358 GB, free: 2.922 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.3722, allocations: 0.6166 MB / 1.359 GB, free: 2.301 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009086/0.3731, allocations: 234.5 kB / 1.359 GB, free: 2.074 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002402/0.3755, allocations: 1.758 MB / 1.36 GB, free: 320 kB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00043/0.3759, allocations: 228 kB / 1.361 GB, free: 60 kB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008388/0.3768, allocations: 0.727 MB / 1.361 GB, free: 15.33 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001043/0.3778, allocations: 0.8395 MB / 1.362 GB, free: 14.48 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001688/0.378, allocations: 80 kB / 1.362 GB, free: 14.41 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000522/0.3785, allocations: 215.7 kB / 1.362 GB, free: 14.2 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003493/0.3789, allocations: 326.5 kB / 1.363 GB, free: 13.88 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006333/0.3795, allocations: 0.5901 MB / 1.363 GB, free: 13.28 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002459/0.3819, allocations: 2.462 MB / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.382, allocations: 0 / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.983e-06/0.382, allocations: 0 / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.1e-05/0.382, allocations: 0 / 1.366 GB, free: 10.81 MB / 1.061 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.00303/0.385, allocations: 2.259 MB / 1.368 GB, free: 8.5 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.385, allocations: 8.031 kB / 1.368 GB, free: 8.492 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.378e-05/0.3851, allocations: 13.19 kB / 1.368 GB, free: 8.48 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.507e-05/0.3852, allocations: 86.69 kB / 1.368 GB, free: 8.387 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002673/0.3854, allocations: 211.5 kB / 1.368 GB, free: 8.18 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002538/0.388, allocations: 1.61 MB / 1.37 GB, free: 6.508 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.388, allocations: 28.98 kB / 1.37 GB, free: 6.48 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.146e-05/0.3881, allocations: 36 kB / 1.37 GB, free: 6.445 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007444/0.3888, allocations: 472 kB / 1.37 GB, free: 5.973 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.3888, allocations: 0 / 1.37 GB, free: 5.973 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.756e-05/0.3888, allocations: 19.92 kB / 1.37 GB, free: 5.953 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.577e-05/0.3889, allocations: 28.98 kB / 1.37 GB, free: 5.922 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006304/0.3895, allocations: 427.6 kB / 1.371 GB, free: 5.508 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002783/0.3923, allocations: 1.766 MB / 1.373 GB, free: 3.68 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009595/0.3933, allocations: 0.4888 MB / 1.373 GB, free: 3.18 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002752/0.3935, allocations: 189.3 kB / 1.373 GB, free: 2.992 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.3936, allocations: 288 / 1.373 GB, free: 2.992 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.3936, allocations: 38.84 kB / 1.373 GB, free: 2.945 MB / 1.061 GB Notification: Performance of pre-optimization done (n=34): time 3.186e-06/0.3936, allocations: 3.984 kB / 1.373 GB, free: 2.941 MB / 1.061 GB Notification: Performance of matching and sorting (n=34): time 0.000975/0.3946, allocations: 0.6503 MB / 1.374 GB, free: 2.285 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.3946, allocations: 59.34 kB / 1.374 GB, free: 2.215 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00322/0.3978, allocations: 2.556 MB / 1.376 GB, free: 15.63 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.081e-05/0.3979, allocations: 29.7 kB / 1.376 GB, free: 15.59 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007885/0.3987, allocations: 0.7685 MB / 1.377 GB, free: 14.82 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.6e-05/0.3988, allocations: 119 kB / 1.377 GB, free: 14.7 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.3989, allocations: 77.64 kB / 1.377 GB, free: 14.62 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.399, allocations: 326.4 kB / 1.378 GB, free: 14.3 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.3992, allocations: 135.9 kB / 1.378 GB, free: 14.16 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.3995, allocations: 203.2 kB / 1.378 GB, free: 13.95 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004513/0.3999, allocations: 322.3 kB / 1.378 GB, free: 13.64 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.3999, allocations: 0 / 1.378 GB, free: 13.64 MB / 1.076 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007401/0.4007, allocations: 0.5352 MB / 1.379 GB, free: 13.09 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.4007, allocations: 6.188 kB / 1.379 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.4007, allocations: 0 / 1.379 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.4007, allocations: 0 / 1.379 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.4011, allocations: 83.98 kB / 1.379 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4011, allocations: 3.938 kB / 1.379 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003575/0.4014, allocations: 35.72 kB / 1.379 GB, free: 12.97 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.4015, allocations: 8 kB / 1.379 GB, free: 12.96 MB / 1.076 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.0007667/0.4022, allocations: 0.6848 MB / 1.38 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/0.4024, allocations: 198.6 kB / 1.38 GB, free: 12.07 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002876/0.4027, allocations: 219.2 kB / 1.38 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.4027, allocations: 4 kB / 1.38 GB, free: 11.85 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.4027, allocations: 0 / 1.38 GB, free: 11.85 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.4027, allocations: 3.984 kB / 1.38 GB, free: 11.85 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001956/0.4047, allocations: 1.436 MB / 1.381 GB, free: 10.35 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.4047, allocations: 7.938 kB / 1.381 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000293/0.405, allocations: 71.91 kB / 1.382 GB, free: 10.27 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.405, allocations: 7.984 kB / 1.382 GB, free: 10.26 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.405, allocations: 8 kB / 1.382 GB, free: 10.25 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.405, allocations: 7.938 kB / 1.382 GB, free: 10.25 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.405, allocations: 0 / 1.382 GB, free: 10.25 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007383/0.4058, allocations: 0.6475 MB / 1.382 GB, free: 9.57 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005399/0.4063, allocations: 314.6 kB / 1.383 GB, free: 9.262 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/0.4065, allocations: 4 kB / 1.383 GB, free: 9.258 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003712/0.4068, allocations: 11.94 kB / 1.383 GB, free: 9.246 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.4069, allocations: 23.95 kB / 1.383 GB, free: 9.223 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.4069, allocations: 8 kB / 1.383 GB, free: 9.215 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002367/0.4093, allocations: 1.835 MB / 1.384 GB, free: 7.363 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.4093, allocations: 0 / 1.384 GB, free: 7.363 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005937/0.4099, allocations: 223.8 kB / 1.385 GB, free: 7.145 MB / 1.076 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.001373/0.4112, allocations: 1.276 MB / 1.386 GB, free: 5.836 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000536/0.4118, allocations: 315.6 kB / 1.386 GB, free: 5.527 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4118, allocations: 0 / 1.386 GB, free: 5.527 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002302/0.412, allocations: 164.6 kB / 1.386 GB, free: 5.367 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002178/0.4142, allocations: 0.6339 MB / 1.387 GB, free: 4.75 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02041/0.4346, allocations: 14.87 MB / 1.401 GB, free: 5.652 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/0.4358, allocations: 1.174 MB / 1.403 GB, free: 4.438 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008318/0.4367, allocations: 319.2 kB / 1.403 GB, free: 4.121 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007201/0.4374, allocations: 0.5852 MB / 1.403 GB, free: 3.535 MB / 1.092 GB Notification: Performance of SimCode: time 1.283e-06/0.4374, allocations: 0 / 1.403 GB, free: 3.535 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07764/0.515, allocations: 42.58 MB / 1.445 GB, free: 9.656 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/14.64, allocations: 18.11 kB / 1.445 GB, free: 9.641 MB / 1.139 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 21.593371907016262]