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.001929/0.001929, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002394/0.002394, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.397/1.397, allocations: 230.6 MB / 256 MB, free: 7.801 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.063/3.063, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_latest_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.001989/0.001989, allocations: 67.86 kB / 1.186 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3314, allocations: 181.9 MB / 1.363 GB, free: 13.97 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.008174/0.3396, allocations: 6.494 MB / 1.37 GB, free: 7.43 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007056/0.3467, allocations: 4.721 MB / 1.374 GB, free: 2.691 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000953/0.3476, allocations: 71.5 kB / 1.375 GB, free: 2.621 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003963/0.3516, allocations: 1.578 MB / 1.376 GB, free: 1.035 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001426/0.353, allocations: 0.6166 MB / 1.377 GB, free: 424 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007247/0.3537, allocations: 231.1 kB / 1.377 GB, free: 196 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001998/0.3557, allocations: 1.766 MB / 1.379 GB, free: 14.42 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004207/0.3561, allocations: 236 kB / 1.379 GB, free: 14.16 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009169/0.3571, allocations: 0.7388 MB / 1.38 GB, free: 13.42 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009369/0.358, allocations: 0.8317 MB / 1.38 GB, free: 12.59 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001489/0.3581, allocations: 80 kB / 1.38 GB, free: 12.51 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004797/0.3586, allocations: 203.8 kB / 1.381 GB, free: 12.31 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000312/0.3589, allocations: 330.4 kB / 1.381 GB, free: 11.98 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005694/0.3595, allocations: 0.5824 MB / 1.382 GB, free: 11.4 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002326/0.3618, allocations: 2.466 MB / 1.384 GB, free: 8.922 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3618, allocations: 0 / 1.384 GB, free: 8.922 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3618, allocations: 3.938 kB / 1.384 GB, free: 8.918 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.964e-05/0.3619, allocations: 0 / 1.384 GB, free: 8.918 MB / 1.076 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.003106/0.365, allocations: 2.255 MB / 1.386 GB, free: 6.613 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.365, allocations: 8.031 kB / 1.386 GB, free: 6.605 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.132e-05/0.3651, allocations: 86.66 kB / 1.386 GB, free: 6.512 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002508/0.3654, allocations: 211.5 kB / 1.386 GB, free: 6.305 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002726/0.3681, allocations: 1.61 MB / 1.388 GB, free: 4.637 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.225e-05/0.3681, allocations: 32.98 kB / 1.388 GB, free: 4.605 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.68e-05/0.3682, allocations: 36 kB / 1.388 GB, free: 4.57 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007219/0.3689, allocations: 472 kB / 1.388 GB, free: 4.102 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.3689, allocations: 0 / 1.388 GB, free: 4.102 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.744e-05/0.3689, allocations: 15.98 kB / 1.389 GB, free: 4.086 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-05/0.369, allocations: 24.98 kB / 1.389 GB, free: 4.062 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006344/0.3696, allocations: 423.6 kB / 1.389 GB, free: 3.648 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003089/0.3727, allocations: 1.77 MB / 1.391 GB, free: 1.82 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.3737, allocations: 497 kB / 1.391 GB, free: 1.324 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002805/0.374, allocations: 193.2 kB / 1.391 GB, free: 1.133 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.374, allocations: 12.2 kB / 1.391 GB, free: 1.121 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.3741, allocations: 42.83 kB / 1.391 GB, free: 1.07 MB / 1.076 GB Notification: Performance of pre-optimization done (n=34): time 1.683e-06/0.3741, allocations: 0 / 1.391 GB, free: 1.07 MB / 1.076 GB Notification: Performance of matching and sorting (n=34): time 0.0009669/0.375, allocations: 0.6503 MB / 1.392 GB, free: 424 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.3751, allocations: 55.41 kB / 1.392 GB, free: 356 kB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003247/0.3783, allocations: 2.552 MB / 1.395 GB, free: 13.77 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.626e-05/0.3783, allocations: 33.7 kB / 1.395 GB, free: 13.73 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007737/0.3791, allocations: 0.7685 MB / 1.395 GB, free: 12.95 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 9.675e-05/0.3792, allocations: 118.9 kB / 1.395 GB, free: 12.84 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.3793, allocations: 69.64 kB / 1.396 GB, free: 12.76 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3795, allocations: 326.5 kB / 1.396 GB, free: 12.44 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.3797, allocations: 135.9 kB / 1.396 GB, free: 12.3 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.38, allocations: 203.1 kB / 1.396 GB, free: 12.09 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004743/0.3804, allocations: 321.7 kB / 1.396 GB, free: 11.78 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3804, allocations: 4.031 kB / 1.396 GB, free: 11.77 MB / 1.092 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007366/0.3812, allocations: 0.5391 MB / 1.397 GB, free: 11.23 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3812, allocations: 4 kB / 1.397 GB, free: 11.22 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3812, allocations: 4 kB / 1.397 GB, free: 11.22 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.3812, allocations: 0 / 1.397 GB, free: 11.22 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003292/0.3815, allocations: 75.89 kB / 1.397 GB, free: 11.14 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.3815, allocations: 0 / 1.397 GB, free: 11.14 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/0.3819, allocations: 27.78 kB / 1.397 GB, free: 11.12 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.3819, allocations: 12 kB / 1.397 GB, free: 11.11 MB / 1.092 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.0007898/0.3827, allocations: 0.6925 MB / 1.398 GB, free: 10.4 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/0.3829, allocations: 198.7 kB / 1.398 GB, free: 10.21 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000299/0.3832, allocations: 215.2 kB / 1.398 GB, free: 9.992 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.3832, allocations: 4 kB / 1.398 GB, free: 9.988 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3832, allocations: 0 / 1.398 GB, free: 9.988 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3832, allocations: 0 / 1.398 GB, free: 9.988 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/0.3853, allocations: 1.44 MB / 1.4 GB, free: 8.484 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3853, allocations: 0 / 1.4 GB, free: 8.484 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002859/0.3856, allocations: 75.89 kB / 1.4 GB, free: 8.41 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3856, allocations: 4.094 kB / 1.4 GB, free: 8.406 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.3857, allocations: 8 kB / 1.4 GB, free: 8.398 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.777e-06/0.3857, allocations: 11.94 kB / 1.4 GB, free: 8.387 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3857, allocations: 3.938 kB / 1.4 GB, free: 8.383 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007487/0.3864, allocations: 0.6486 MB / 1.4 GB, free: 7.707 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006562/0.3871, allocations: 314.5 kB / 1.401 GB, free: 7.398 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.3872, allocations: 8 kB / 1.401 GB, free: 7.391 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003688/0.3876, allocations: 11.98 kB / 1.401 GB, free: 7.379 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.3876, allocations: 31.78 kB / 1.401 GB, free: 7.348 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.3876, allocations: 8 kB / 1.401 GB, free: 7.34 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002381/0.39, allocations: 1.835 MB / 1.402 GB, free: 5.488 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/0.39, allocations: 0 / 1.402 GB, free: 5.488 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000576/0.3906, allocations: 223.8 kB / 1.403 GB, free: 5.27 MB / 1.092 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.001355/0.3919, allocations: 1.269 MB / 1.404 GB, free: 3.973 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005706/0.3925, allocations: 328.1 kB / 1.404 GB, free: 3.652 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3925, allocations: 4 kB / 1.404 GB, free: 3.648 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002374/0.3928, allocations: 168 kB / 1.404 GB, free: 3.484 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002054/0.3948, allocations: 0.6211 MB / 1.405 GB, free: 2.875 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01972/0.4145, allocations: 14.85 MB / 1.42 GB, free: 3.801 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/0.4158, allocations: 1.178 MB / 1.421 GB, free: 2.578 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0008215/0.4166, allocations: 315.2 kB / 1.421 GB, free: 2.266 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007258/0.4173, allocations: 0.5891 MB / 1.422 GB, free: 1.676 MB / 1.107 GB Notification: Performance of SimCode: time 9.22e-07/0.4173, allocations: 0 / 1.422 GB, free: 1.676 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08106/0.4984, allocations: 43.03 MB / 1.464 GB, free: 7.297 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.73, allocations: 13.58 kB / 1.464 GB, free: 7.289 MB / 1.154 GB " [Timeout remaining time 287] (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: 19.308195289224386]