Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.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.001948/0.001948, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001786/0.001786, allocations: 216.6 kB / 23.04 MB, free: 5.074 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.789/2.789, allocations: 476.7 MB / 0.7714 GB, free: 4.32 MB / 0.6231 GB " [Timeout remaining time 176] 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.HeatTransfer.Radiosity.Examples.OpaqueSurface,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface",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.002012/0.002012, allocations: 64.23 kB / 1.118 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3924, allocations: 170 MB / 1.284 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.00341/0.3958, allocations: 1.673 MB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.3968, allocations: 0.4988 MB / 1.286 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.239e-05/0.3969, allocations: 3.938 kB / 1.286 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.555e-05/0.397, allocations: 11.86 kB / 1.286 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.3971, allocations: 39.69 kB / 1.286 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002134/0.3973, allocations: 39.89 kB / 1.286 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.3975, allocations: 143.3 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.3976, allocations: 31.92 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/0.3979, allocations: 59.78 kB / 1.287 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.398, allocations: 59.75 kB / 1.287 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.398, allocations: 11.94 kB / 1.287 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.235e-05/0.398, allocations: 8 kB / 1.287 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.57e-05/0.3981, allocations: 19.92 kB / 1.287 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.184e-05/0.3981, allocations: 43.8 kB / 1.287 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.3983, allocations: 119.1 kB / 1.287 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3983, allocations: 0 / 1.287 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3983, allocations: 3.938 kB / 1.287 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.3983, allocations: 0 / 1.287 GB, free: 9.02 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005662/0.3989, allocations: 329.9 kB / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.3989, allocations: 8.031 kB / 1.287 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.559e-05/0.3989, allocations: 4.188 kB / 1.287 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.78e-05/0.399, allocations: 38.75 kB / 1.287 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.187e-05/0.399, allocations: 20.88 kB / 1.287 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.3993, allocations: 142.3 kB / 1.287 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.3993, allocations: 4.375 kB / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.3993, allocations: 8.375 kB / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.3995, allocations: 69.61 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3995, allocations: 0 / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.3995, allocations: 4 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.3995, allocations: 4 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.095e-05/0.3996, allocations: 35.92 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007398/0.4003, allocations: 462.5 kB / 1.288 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/0.4006, allocations: 78.5 kB / 1.288 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.373e-05/0.4007, allocations: 20.94 kB / 1.288 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/0.4007, allocations: 4.031 kB / 1.288 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.4007, allocations: 30.56 kB / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 3.727e-06/0.4007, allocations: 8.031 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0005695/0.4013, allocations: 122.3 kB / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.4014, allocations: 51.41 kB / 1.288 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.4015, allocations: 162.2 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.4015, allocations: 25.7 kB / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.807e-05/0.4016, allocations: 112 kB / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.4016, allocations: 11.84 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.64e-05/0.4017, allocations: 21.7 kB / 1.289 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.4018, allocations: 318.8 kB / 1.289 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.914e-05/0.4019, allocations: 23.98 kB / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.322e-05/0.4019, allocations: 30.58 kB / 1.289 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.521e-05/0.402, allocations: 40.84 kB / 1.289 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.402, allocations: 0 / 1.289 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002136/0.4022, allocations: 98.36 kB / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.4022, allocations: 8 kB / 1.289 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.4022, allocations: 0 / 1.289 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001957/0.4024, allocations: 20.84 kB / 1.289 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.47e-05/0.4025, allocations: 12.03 kB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/0.4038, allocations: 1.299 MB / 1.29 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.4039, allocations: 11.95 kB / 1.29 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.4039, allocations: 4 kB / 1.29 GB, free: 5.07 MB / 0.9825 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001378/0.404, allocations: 113.8 kB / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.4041, allocations: 11.89 kB / 1.29 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.573e-05/0.4041, allocations: 8.344 kB / 1.29 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.4041, allocations: 8.062 kB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.4041, allocations: 7.922 kB / 1.29 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.4041, allocations: 0 / 1.29 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004816/0.4046, allocations: 334.3 kB / 1.291 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4046, allocations: 0 / 1.291 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.14e-05/0.4046, allocations: 4 kB / 1.291 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.804e-05/0.4047, allocations: 24.78 kB / 1.291 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.4047, allocations: 4 kB / 1.291 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/0.4059, allocations: 1.303 MB / 1.292 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.4059, allocations: 3.938 kB / 1.292 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.4061, allocations: 180.3 kB / 1.292 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.287e-05/0.4061, allocations: 7.953 kB / 1.292 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.4062, allocations: 11.92 kB / 1.292 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.302e-05/0.4063, allocations: 64 / 1.292 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.995e-05/0.4063, allocations: 8 kB / 1.292 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.4063, allocations: 0 / 1.292 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001108/0.4064, allocations: 122.1 kB / 1.292 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4064, allocations: 0 / 1.292 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002974/0.4067, allocations: 32 kB / 1.292 GB, free: 2.703 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005605/0.4072, allocations: 0.7171 MB / 1.293 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003776/0.4076, allocations: 162.6 kB / 1.293 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.4076, allocations: 0 / 1.293 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002178/0.4078, allocations: 130.7 kB / 1.293 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.4082, allocations: 30.17 kB / 1.293 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.4102, allocations: 1.575 MB / 1.295 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.4106, allocations: 0.6967 MB / 1.296 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.328e-05/0.4106, allocations: 9.344 kB / 1.296 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.337e-05/0.4107, allocations: 27.42 kB / 1.296 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/0.4107, allocations: 3.938 kB / 1.296 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02738/0.4381, allocations: 3.265 MB / 1.299 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.33, allocations: 12.84 kB / 1.299 GB, free: 12.09 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface.fmu > Buildings_11_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.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.445357412972953]