Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.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.001459/0.001459, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001663/0.001663, allocations: 212.5 kB / 22.25 MB, free: 5.262 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.358/1.358, allocations: 230.6 MB / 256 MB, free: 7.773 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 2.941/2.941, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 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.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang",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.001939/0.001939, allocations: 68.98 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3142, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.008713/0.3229, allocations: 5.881 MB / 1.369 GB, free: 8.133 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1583/0.4812, allocations: 134 MB / 1.5 GB, free: 1.625 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.4823, allocations: 23.81 kB / 1.5 GB, free: 1.602 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008326/0.4832, allocations: 253.6 kB / 1.5 GB, free: 1.352 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002486/0.4856, allocations: 0.7392 MB / 1.501 GB, free: 0.6133 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002732/0.4884, allocations: 1.068 MB / 1.502 GB, free: 15.55 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002827/0.4912, allocations: 2.169 MB / 1.504 GB, free: 13.38 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001229/0.4924, allocations: 0.6133 MB / 1.505 GB, free: 12.73 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/0.4937, allocations: 0.8178 MB / 1.506 GB, free: 11.91 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009821/0.4947, allocations: 0.774 MB / 1.506 GB, free: 11.13 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002784/0.4949, allocations: 216 kB / 1.506 GB, free: 10.92 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.4963, allocations: 0.7143 MB / 1.507 GB, free: 10.2 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004435/0.4968, allocations: 498.6 kB / 1.508 GB, free: 9.715 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007462/0.4975, allocations: 0.739 MB / 1.508 GB, free: 8.973 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003105/0.5006, allocations: 2.701 MB / 1.511 GB, free: 6.262 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.5006, allocations: 0 / 1.511 GB, free: 6.262 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5006, allocations: 0 / 1.511 GB, free: 6.262 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.023e-05/0.5007, allocations: 0 / 1.511 GB, free: 6.262 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.003816/0.5045, allocations: 1.971 MB / 1.513 GB, free: 4.25 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.5045, allocations: 12.03 kB / 1.513 GB, free: 4.238 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002518/0.5048, allocations: 203 kB / 1.513 GB, free: 4.031 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1121/0.6168, allocations: 16.11 MB / 1.529 GB, free: 3.898 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003526/0.6204, allocations: 1.381 MB / 1.53 GB, free: 2.488 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.6205, allocations: 102.8 kB / 1.53 GB, free: 2.387 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005143/0.621, allocations: 136 kB / 1.53 GB, free: 2.254 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03837/0.6594, allocations: 8.593 MB / 1.539 GB, free: 9.531 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/0.6594, allocations: 0 / 1.539 GB, free: 9.531 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003361/0.6597, allocations: 60 kB / 1.539 GB, free: 9.473 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.986e-05/0.6598, allocations: 32 kB / 1.539 GB, free: 9.441 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07161/0.7314, allocations: 14.57 MB / 1.553 GB, free: 10.85 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04543/0.7768, allocations: 10.42 MB / 1.563 GB, free: 352 kB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06044/0.8372, allocations: 10.33 MB / 1.573 GB, free: 5.996 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03457/0.8718, allocations: 6.694 MB / 1.58 GB, free: 15.29 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003619/0.8722, allocations: 64.94 kB / 1.58 GB, free: 15.23 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03578/0.9079, allocations: 7.454 MB / 1.587 GB, free: 7.723 MB / 1.279 GB Notification: Performance of pre-optimization done (n=115): time 4.288e-06/0.908, allocations: 0 / 1.587 GB, free: 7.723 MB / 1.279 GB Notification: Performance of matching and sorting (n=115): time 0.1034/1.011, allocations: 19.57 MB / 1.606 GB, free: 4.117 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/1.012, allocations: 192.9 kB / 1.607 GB, free: 3.887 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/1.013, allocations: 0.8414 MB / 1.607 GB, free: 3.031 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0005544/1.014, allocations: 57.64 kB / 1.607 GB, free: 2.969 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005577/1.014, allocations: 0.556 MB / 1.608 GB, free: 2.406 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008362/1.015, allocations: 404.5 kB / 1.608 GB, free: 2.008 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00133/1.016, allocations: 370.5 kB / 1.609 GB, free: 1.637 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001805/1.016, allocations: 345.9 kB / 1.609 GB, free: 1.293 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.6586/1.675, allocations: 6.792 MB / 1.616 GB, free: 245.5 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0359/1.711, allocations: 7.115 MB / 1.623 GB, free: 244.4 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0616/1.773, allocations: 11.59 MB / 1.634 GB, free: 242.1 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.658e-05/1.773, allocations: 0 / 1.634 GB, free: 242.1 MB / 1.295 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.06436/1.837, allocations: 13.08 MB / 1.647 GB, free: 235.4 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/1.837, allocations: 5.562 kB / 1.647 GB, free: 235.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/1.837, allocations: 5.422 kB / 1.647 GB, free: 235.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005422/1.838, allocations: 85.22 kB / 1.647 GB, free: 235.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01785/1.855, allocations: 2.772 MB / 1.65 GB, free: 234.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/1.857, allocations: 1.536 MB / 1.651 GB, free: 232.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01753/1.875, allocations: 2.536 MB / 1.654 GB, free: 231.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005141/1.875, allocations: 110.4 kB / 1.654 GB, free: 231.3 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 19 (ove.ove.solAzi.outsidePolarCircle,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 133 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001/1.876, allocations: 347 kB / 1.654 GB, free: 231.1 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005024/1.877, allocations: 116.6 kB / 1.654 GB, free: 231.1 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0645/1.941, allocations: 13.8 MB / 1.668 GB, free: 218 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/1.941, allocations: 16 kB / 1.668 GB, free: 218 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.941, allocations: 3.938 kB / 1.668 GB, free: 218 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-05/1.941, allocations: 7.969 kB / 1.668 GB, free: 218 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002106/1.943, allocations: 1.695 MB / 1.669 GB, free: 216.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/1.943, allocations: 4 kB / 1.669 GB, free: 216.3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01725/1.96, allocations: 2.747 MB / 1.672 GB, free: 213.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004337/1.961, allocations: 72.78 kB / 1.672 GB, free: 213.5 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005086/1.961, allocations: 99.8 kB / 1.672 GB, free: 213.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001408/1.963, allocations: 1.565 MB / 1.674 GB, free: 211.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.963, allocations: 4.031 kB / 1.674 GB, free: 211.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06183/2.025, allocations: 13.01 MB / 1.686 GB, free: 198.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00218/2.027, allocations: 0.7628 MB / 1.687 GB, free: 197.9 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004835/2.027, allocations: 28.06 kB / 1.687 GB, free: 197.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01695/2.044, allocations: 2.484 MB / 1.69 GB, free: 195.4 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000195/2.044, allocations: 101.1 kB / 1.69 GB, free: 195.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003957/2.045, allocations: 119.7 kB / 1.69 GB, free: 195.2 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.000679/2.046, allocations: 0.5929 MB / 1.69 GB, free: 194.6 MB / 1.295 GB Notification: Performance of sort global known variables: time 9.1e-08/2.046, allocations: 3.469 kB / 1.69 GB, free: 194.6 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001705/2.047, allocations: 0.7518 MB / 1.691 GB, free: 193.9 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of discrete states: 6 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.06452/2.112, allocations: 14.13 MB / 1.705 GB, free: 180 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.06499/2.177, allocations: 13.86 MB / 1.718 GB, free: 166.1 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/2.177, allocations: 0.6562 kB / 1.718 GB, free: 166.1 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.03192/2.209, allocations: 7.006 MB / 1.725 GB, free: 159.1 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00161/2.21, allocations: 362.9 kB / 1.726 GB, free: 158.7 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2005/2.411, allocations: 46.86 MB / 1.771 GB, free: 111.7 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005982/2.411, allocations: 0.6129 MB / 1.772 GB, free: 111.1 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.004237/2.416, allocations: 0.8174 MB / 1.773 GB, free: 110.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002308/2.418, allocations: 0.702 MB / 1.773 GB, free: 109.5 MB / 1.295 GB Notification: Performance of SimCode: time 1.172e-06/2.418, allocations: 0 / 1.773 GB, free: 109.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08658/2.505, allocations: 57.1 MB / 1.829 GB, free: 52.74 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/15.94, allocations: 1.969 kB / 1.829 GB, free: 52.74 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_Examples_Overhang.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.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: 22.370801877230406]