Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00184/0.00184, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002329/0.002329, allocations: 221.4 kB / 22.25 MB, free: 5.254 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.352/1.352, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.935/2.935, allocations: 0.49 GB / 0.7951 GB, free: 35.69 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_12_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.001931/0.001931, allocations: 66.77 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3016, allocations: 176.1 MB / 1.326 GB, free: 1.398 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.008186/0.3098, allocations: 6.511 MB / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007058/0.3169, allocations: 4.726 MB / 1.337 GB, free: 6.105 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.3179, allocations: 75.44 kB / 1.337 GB, free: 6.031 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004019/0.322, allocations: 1.574 MB / 1.339 GB, free: 4.449 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001572/0.3235, allocations: 0.6166 MB / 1.339 GB, free: 3.828 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000825/0.3244, allocations: 248.1 kB / 1.339 GB, free: 3.59 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002144/0.3265, allocations: 1.758 MB / 1.341 GB, free: 1.828 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004536/0.3269, allocations: 232 kB / 1.341 GB, free: 1.574 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009755/0.3279, allocations: 0.7465 MB / 1.342 GB, free: 0.8242 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009998/0.3289, allocations: 0.8201 MB / 1.343 GB, free: 0 / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001738/0.3291, allocations: 80.05 kB / 1.343 GB, free: 15.92 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004961/0.3296, allocations: 207.7 kB / 1.343 GB, free: 15.72 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003272/0.3299, allocations: 342.4 kB / 1.343 GB, free: 15.38 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0006512/0.3306, allocations: 0.5862 MB / 1.344 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002445/0.333, allocations: 2.459 MB / 1.346 GB, free: 12.32 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.333, allocations: 0 / 1.346 GB, free: 12.32 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.694e-06/0.333, allocations: 0 / 1.346 GB, free: 12.32 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.742e-05/0.333, allocations: 0 / 1.346 GB, free: 12.32 MB / 1.045 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.003209/0.3363, allocations: 2.263 MB / 1.349 GB, free: 10.01 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.3363, allocations: 15.97 kB / 1.349 GB, free: 9.996 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.844e-05/0.3364, allocations: 74.72 kB / 1.349 GB, free: 9.914 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002665/0.3367, allocations: 207.6 kB / 1.349 GB, free: 9.711 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002768/0.3394, allocations: 1.614 MB / 1.35 GB, free: 8.039 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.208e-05/0.3395, allocations: 29 kB / 1.35 GB, free: 8.012 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.767e-05/0.3395, allocations: 35.98 kB / 1.351 GB, free: 7.977 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006999/0.3402, allocations: 476 kB / 1.351 GB, free: 7.5 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.3402, allocations: 3.938 kB / 1.351 GB, free: 7.496 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.639e-05/0.3403, allocations: 16 kB / 1.351 GB, free: 7.48 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.041e-05/0.3403, allocations: 20.98 kB / 1.351 GB, free: 7.461 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006032/0.3409, allocations: 427.6 kB / 1.351 GB, free: 7.043 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002963/0.3439, allocations: 1.773 MB / 1.353 GB, free: 5.207 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009162/0.3448, allocations: 488.6 kB / 1.354 GB, free: 4.719 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002666/0.3451, allocations: 193.3 kB / 1.354 GB, free: 4.527 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.3451, allocations: 8.266 kB / 1.354 GB, free: 4.52 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.3451, allocations: 42.78 kB / 1.354 GB, free: 4.469 MB / 1.045 GB Notification: Performance of pre-optimization done (n=34): time 2.034e-06/0.3451, allocations: 0 / 1.354 GB, free: 4.469 MB / 1.045 GB Notification: Performance of matching and sorting (n=34): time 0.0009524/0.3461, allocations: 0.6464 MB / 1.354 GB, free: 3.816 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.3461, allocations: 55.41 kB / 1.355 GB, free: 3.75 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003167/0.3493, allocations: 2.552 MB / 1.357 GB, free: 1.168 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.571e-05/0.3493, allocations: 37.7 kB / 1.357 GB, free: 1.125 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007307/0.3501, allocations: 0.7685 MB / 1.358 GB, free: 360 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 9.993e-05/0.3502, allocations: 111 kB / 1.358 GB, free: 248 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.3503, allocations: 81.64 kB / 1.358 GB, free: 160 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3504, allocations: 322.5 kB / 1.358 GB, free: 15.84 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.3506, allocations: 131.9 kB / 1.358 GB, free: 15.71 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.3509, allocations: 207.1 kB / 1.359 GB, free: 15.49 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004282/0.3513, allocations: 321.1 kB / 1.359 GB, free: 15.18 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3513, allocations: 0 / 1.359 GB, free: 15.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007993/0.3521, allocations: 0.5352 MB / 1.359 GB, free: 14.63 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.3521, allocations: 8 kB / 1.359 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3521, allocations: 0 / 1.359 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.3522, allocations: 0 / 1.359 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00034/0.3525, allocations: 83.86 kB / 1.36 GB, free: 14.54 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.3525, allocations: 4 kB / 1.36 GB, free: 14.54 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004338/0.3529, allocations: 35.67 kB / 1.36 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.353, allocations: 8 kB / 1.36 GB, free: 14.5 MB / 1.061 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.000837/0.3538, allocations: 0.6931 MB / 1.36 GB, free: 13.79 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/0.354, allocations: 194.7 kB / 1.36 GB, free: 13.6 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003109/0.3543, allocations: 219.2 kB / 1.361 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3544, allocations: 4 kB / 1.361 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.3544, allocations: 4 kB / 1.361 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.3544, allocations: 3.984 kB / 1.361 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002042/0.3564, allocations: 1.444 MB / 1.362 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.3564, allocations: 0 / 1.362 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002843/0.3567, allocations: 75.89 kB / 1.362 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.3567, allocations: 4 kB / 1.362 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.3567, allocations: 4 kB / 1.362 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.409e-05/0.3567, allocations: 4 kB / 1.362 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.3567, allocations: 3.938 kB / 1.362 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000732/0.3575, allocations: 0.6475 MB / 1.363 GB, free: 11.1 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006701/0.3581, allocations: 314.6 kB / 1.363 GB, free: 10.79 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.3583, allocations: 8 kB / 1.363 GB, free: 10.78 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003724/0.3587, allocations: 11.98 kB / 1.363 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.3587, allocations: 23.91 kB / 1.363 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.3587, allocations: 8 kB / 1.363 GB, free: 10.74 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002345/0.3611, allocations: 1.831 MB / 1.365 GB, free: 8.891 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3611, allocations: 0 / 1.365 GB, free: 8.891 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006382/0.3617, allocations: 227.8 kB / 1.365 GB, free: 8.668 MB / 1.061 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.001335/0.363, allocations: 1.272 MB / 1.366 GB, free: 7.367 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005275/0.3636, allocations: 323.4 kB / 1.367 GB, free: 7.051 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3636, allocations: 0 / 1.367 GB, free: 7.051 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002159/0.3638, allocations: 167.7 kB / 1.367 GB, free: 6.887 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/0.3659, allocations: 0.6326 MB / 1.368 GB, free: 6.27 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02017/0.3861, allocations: 14.86 MB / 1.382 GB, free: 7.188 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/0.3873, allocations: 1.17 MB / 1.383 GB, free: 5.973 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008004/0.3881, allocations: 307.3 kB / 1.383 GB, free: 5.668 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007161/0.3888, allocations: 0.5969 MB / 1.384 GB, free: 5.07 MB / 1.076 GB Notification: Performance of SimCode: time 9.11e-07/0.3888, allocations: 0 / 1.384 GB, free: 5.07 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08065/0.4695, allocations: 43.17 MB / 1.426 GB, free: 10.61 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/12.71, allocations: 4.047 kB / 1.426 GB, free: 10.61 MB / 1.123 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat --tempDir=temp_Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.046689670998603]