Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.001681/0.001681, allocations: 119.3 kB / 17.17 MB, free: 5.977 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.001921/0.001921, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.468/1.468, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.704/2.704, allocations: 476.7 MB / 0.7678 GB, free: 9.371 MB / 0.6075 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.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",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.001974/0.001974, allocations: 64.09 kB / 1.113 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8523/0.8543, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002815/0.8571, allocations: 1.615 MB / 1.28 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.8586, allocations: 0.9599 MB / 1.281 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.674e-05/0.8587, allocations: 2.156 kB / 1.281 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002854/0.859, allocations: 59.69 kB / 1.281 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005216/0.8595, allocations: 146.5 kB / 1.282 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.189e-05/0.8595, allocations: 12.22 kB / 1.282 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005654/0.8601, allocations: 376.8 kB / 1.282 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.8602, allocations: 32.05 kB / 1.282 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003895/0.8606, allocations: 159.3 kB / 1.282 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002256/0.8608, allocations: 134.1 kB / 1.282 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.389e-05/0.8608, allocations: 15.38 kB / 1.282 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.83e-05/0.8609, allocations: 15.53 kB / 1.282 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.502e-05/0.861, allocations: 51.44 kB / 1.282 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.8611, allocations: 131.6 kB / 1.283 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000368/0.8615, allocations: 291.4 kB / 1.283 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.8615, allocations: 0 / 1.283 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.063e-06/0.8615, allocations: 7.938 kB / 1.283 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.312e-05/0.8615, allocations: 1.469 kB / 1.283 GB, free: 9.285 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001205/0.8627, allocations: 0.6303 MB / 1.283 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.8628, allocations: 10.03 kB / 1.283 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.48e-05/0.8628, allocations: 5.531 kB / 1.283 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.614e-05/0.8628, allocations: 35.41 kB / 1.283 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.543e-05/0.8629, allocations: 32.41 kB / 1.283 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000547/0.8634, allocations: 395.4 kB / 1.284 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.8635, allocations: 384 / 1.284 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.8635, allocations: 1.875 kB / 1.284 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.8637, allocations: 104.5 kB / 1.284 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.8637, allocations: 0.5625 kB / 1.284 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.8637, allocations: 5.156 kB / 1.284 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.8637, allocations: 1.281 kB / 1.284 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.8638, allocations: 66.33 kB / 1.284 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004572/0.8643, allocations: 353.4 kB / 1.284 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.8644, allocations: 102.6 kB / 1.284 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.8645, allocations: 61.92 kB / 1.285 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.8645, allocations: 6.109 kB / 1.285 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.8646, allocations: 39.88 kB / 1.285 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.633e-06/0.8646, allocations: 0 / 1.285 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0003773/0.865, allocations: 190.8 kB / 1.285 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.422e-05/0.865, allocations: 134.9 kB / 1.285 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006535/0.8657, allocations: 0.5151 MB / 1.285 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.8657, allocations: 26.77 kB / 1.285 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.8658, allocations: 164.3 kB / 1.286 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.8659, allocations: 20.16 kB / 1.286 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.623e-05/0.8659, allocations: 20.55 kB / 1.286 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.8661, allocations: 341.9 kB / 1.286 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.01e-05/0.8661, allocations: 38.95 kB / 1.286 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.385e-05/0.8662, allocations: 60.88 kB / 1.286 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.8664, allocations: 104.9 kB / 1.286 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.8664, allocations: 0 / 1.286 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002202/0.8666, allocations: 154.8 kB / 1.286 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.8666, allocations: 10.25 kB / 1.286 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.8666, allocations: 0 / 1.286 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.8666, allocations: 2.25 kB / 1.286 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.8667, allocations: 10.73 kB / 1.286 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.8667, allocations: 2.625 kB / 1.286 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.8669, allocations: 9.875 kB / 1.286 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.8669, allocations: 4.047 kB / 1.286 GB, free: 6.645 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001632/0.867, allocations: 173.6 kB / 1.286 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-05/0.8671, allocations: 39.33 kB / 1.287 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003308/0.8674, allocations: 185.5 kB / 1.287 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.8674, allocations: 1.438 kB / 1.287 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/0.8674, allocations: 1.625 kB / 1.287 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.8674, allocations: 2 kB / 1.287 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.8678, allocations: 312.3 kB / 1.287 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.8678, allocations: 5.859 kB / 1.287 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.282e-05/0.8679, allocations: 21.62 kB / 1.287 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.8679, allocations: 7.266 kB / 1.287 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.8679, allocations: 1.25 kB / 1.287 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.8679, allocations: 1.938 kB / 1.287 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8679, allocations: 1.344 kB / 1.287 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.8681, allocations: 193.9 kB / 1.287 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.8683, allocations: 139.5 kB / 1.287 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.745e-05/0.8683, allocations: 9.953 kB / 1.287 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.8685, allocations: 9.547 kB / 1.287 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.7e-05/0.8685, allocations: 7.969 kB / 1.287 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.8685, allocations: 5.656 kB / 1.287 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004449/0.8689, allocations: 394.7 kB / 1.288 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.8689, allocations: 0 / 1.288 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002517/0.8692, allocations: 36.16 kB / 1.288 GB, free: 5.711 MB / 0.9981 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 (8): * Single equations (assignments): 8 * 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.0005312/0.8697, allocations: 0.7331 MB / 1.289 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001794/0.8699, allocations: 87.38 kB / 1.289 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.8699, allocations: 7.938 kB / 1.289 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.137e-05/0.87, allocations: 46.3 kB / 1.289 GB, free: 5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.8704, allocations: 73.08 kB / 1.289 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00395/0.8743, allocations: 3.18 MB / 1.292 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004398/0.8747, allocations: 0.8195 MB / 1.293 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001684/0.8749, allocations: 53.36 kB / 1.293 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.8751, allocations: 80.56 kB / 1.293 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of SimCode: time 6.71e-07/0.8751, allocations: 0 / 1.293 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02589/0.901, allocations: 6.723 MB / 1.299 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.358/9.259, allocations: 7.938 kB / 1.299 GB, free: 1.691 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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: 15.290776749956422]