Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior.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.001685/0.001685, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002316/0.002316, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.549/1.549, allocations: 230.6 MB / 256 MB, free: 8.004 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.845/2.845, allocations: 476.8 MB / 0.7707 GB, free: 4.285 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.Convection.Examples.Exterior,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Convection_Examples_Exterior",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Convection_Examples_Exterior",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.002037/0.002037, allocations: 67.94 kB / 1.117 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3713, allocations: 170 MB / 1.283 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.004424/0.3757, allocations: 2.746 MB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00392/0.3797, allocations: 1.869 MB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002564/0.3799, allocations: 11.94 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.3801, allocations: 47.45 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005978/0.3807, allocations: 158.8 kB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.3817, allocations: 395 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007851/0.3825, allocations: 0.4984 MB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003168/0.3828, allocations: 105.6 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003179/0.3831, allocations: 207.2 kB / 1.289 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003266/0.3835, allocations: 175.2 kB / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.192e-05/0.3835, allocations: 32 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008742/0.3844, allocations: 471.4 kB / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.657e-05/0.3845, allocations: 79.69 kB / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001966/0.3847, allocations: 187.1 kB / 1.29 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007835/0.3855, allocations: 0.5565 MB / 1.291 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3855, allocations: 0 / 1.291 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3855, allocations: 0 / 1.291 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.3855, allocations: 0 / 1.291 GB, free: 4.234 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001188/0.3867, allocations: 0.6642 MB / 1.291 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.3867, allocations: 8.031 kB / 1.291 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001112/0.3868, allocations: 70.72 kB / 1.291 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001707/0.3885, allocations: 128.5 kB / 1.292 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006775/0.3892, allocations: 253.2 kB / 1.292 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/0.3893, allocations: 21.03 kB / 1.292 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.318e-05/0.3893, allocations: 32.38 kB / 1.292 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.3904, allocations: 314.1 kB / 1.292 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.3904, allocations: 4 kB / 1.292 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.552e-05/0.3904, allocations: 12 kB / 1.292 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.3904, allocations: 4 kB / 1.292 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.3917, allocations: 294.3 kB / 1.292 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002537/0.3942, allocations: 0.8702 MB / 1.293 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.3955, allocations: 274.5 kB / 1.294 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003985/0.3959, allocations: 120.8 kB / 1.294 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001388/0.396, allocations: 16.31 kB / 1.294 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.3961, allocations: 34.56 kB / 1.294 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=25): time 1.983e-06/0.3961, allocations: 4 kB / 1.294 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25): time 0.00136/0.3974, allocations: 383.6 kB / 1.294 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.3975, allocations: 59.34 kB / 1.294 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004336/0.3979, allocations: 341.7 kB / 1.294 GB, free: 224 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.369e-05/0.398, allocations: 29.7 kB / 1.294 GB, free: 188 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.3982, allocations: 189 kB / 1.295 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.3983, allocations: 99.16 kB / 1.295 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.3985, allocations: 61.97 kB / 1.295 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002222/0.3987, allocations: 342.8 kB / 1.295 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003559/0.399, allocations: 104.5 kB / 1.295 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004275/0.3995, allocations: 117 kB / 1.295 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007079/0.4002, allocations: 226.9 kB / 1.296 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.4002, allocations: 0 / 1.296 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009938/0.4012, allocations: 341.9 kB / 1.296 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/0.4012, allocations: 8 kB / 1.296 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.4012, allocations: 0 / 1.296 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.449e-05/0.4012, allocations: 0 / 1.296 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004415/0.4017, allocations: 79.86 kB / 1.296 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.4017, allocations: 3.75 kB / 1.296 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003292/0.402, allocations: 43.72 kB / 1.296 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.402, allocations: 15.98 kB / 1.296 GB, free: 14.55 MB / 0.9981 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 (33): * Single equations (assignments): 33 * 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.0002185/0.4023, allocations: 145.8 kB / 1.296 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.4024, allocations: 35.77 kB / 1.296 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.4035, allocations: 366.9 kB / 1.297 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.4035, allocations: 4 kB / 1.297 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.4035, allocations: 0 / 1.297 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.4035, allocations: 7.922 kB / 1.297 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005305/0.404, allocations: 320.4 kB / 1.297 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.404, allocations: 0 / 1.297 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003262/0.4043, allocations: 51.95 kB / 1.297 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.4043, allocations: 7.984 kB / 1.297 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.4044, allocations: 4 kB / 1.297 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.4044, allocations: 4 kB / 1.297 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.4044, allocations: 3.938 kB / 1.297 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008481/0.4052, allocations: 300.6 kB / 1.297 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.4054, allocations: 63.59 kB / 1.297 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.776e-05/0.4054, allocations: 8 kB / 1.297 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.4057, allocations: 15.98 kB / 1.297 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/0.4057, allocations: 19.91 kB / 1.297 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.4058, allocations: 7.984 kB / 1.297 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003348/0.4061, allocations: 251.2 kB / 1.298 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.4061, allocations: 3.938 kB / 1.298 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004265/0.4065, allocations: 107.8 kB / 1.298 GB, free: 12.77 MB / 0.9981 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 (21): * Single equations (assignments): 21 * 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.00137/0.4079, allocations: 0.8763 MB / 1.299 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000891/0.4088, allocations: 231.7 kB / 1.299 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4088, allocations: 0 / 1.299 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003886/0.4092, allocations: 111.8 kB / 1.299 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007689/0.41, allocations: 114.2 kB / 1.299 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006583/0.4165, allocations: 3.042 MB / 1.302 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005185/0.4171, allocations: 0.7794 MB / 1.303 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003248/0.4174, allocations: 82.73 kB / 1.303 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/0.4176, allocations: 111.4 kB / 1.303 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of SimCode: time 1.032e-06/0.4176, allocations: 0 / 1.303 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04124/0.4588, allocations: 8.995 MB / 1.312 GB, free: 14.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.17, allocations: 6.656 kB / 1.312 GB, free: 14.5 MB / 1.014 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.719712 Buildings_11_Buildings_HeatTransfer_Convection_Examples_Exterior.fmu > Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Convection_Examples_Exterior.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable nor.hF in file Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior_res.csv. Warning: Get data of variable nor.hF from file Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior_res.csv failed! Error: Could not read variable wes.hF in file Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior_res.csv. Warning: Get data of variable wes.hF from file Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior_res.csv failed! Error: Could not read variable sou.hF in file Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior_res.csv. Warning: Get data of variable sou.hF from file Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.419025546998455]