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.001479/0.001479, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001482/0.001482, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.391/1.391, allocations: 230.6 MB / 252.8 MB, free: 8.953 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 3.103/3.103, allocations: 0.505 GB / 0.8066 GB, free: 23.07 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.001999/0.001999, allocations: 67.08 kB / 1.172 GB, free: 17.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.386, allocations: 180.2 MB / 1.348 GB, free: 9.984 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.009364/0.3953, allocations: 6.64 MB / 1.354 GB, free: 3.312 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1929/0.5882, allocations: 155.4 MB / 1.506 GB, free: 7.301 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001582/0.5898, allocations: 27.75 kB / 1.506 GB, free: 7.273 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.5909, allocations: 265.4 kB / 1.506 GB, free: 7.012 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00321/0.5941, allocations: 0.7306 MB / 1.507 GB, free: 6.281 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003013/0.5971, allocations: 1.052 MB / 1.508 GB, free: 5.234 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003048/0.6002, allocations: 2.161 MB / 1.51 GB, free: 3.066 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001345/0.6015, allocations: 0.6516 MB / 1.511 GB, free: 2.375 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/0.6029, allocations: 0.8139 MB / 1.512 GB, free: 1.559 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00141/0.6043, allocations: 0.8716 MB / 1.512 GB, free: 0.6836 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000556/0.6049, allocations: 216 kB / 1.513 GB, free: 484 kB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001661/0.6065, allocations: 0.7494 MB / 1.513 GB, free: 15.72 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0004982/0.607, allocations: 498.5 kB / 1.514 GB, free: 15.23 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.00101/0.6081, allocations: 0.906 MB / 1.515 GB, free: 14.32 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003608/0.6117, allocations: 2.686 MB / 1.517 GB, free: 11.63 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.6117, allocations: 0 / 1.517 GB, free: 11.63 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6117, allocations: 0 / 1.517 GB, free: 11.63 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.673e-05/0.6117, allocations: 0 / 1.517 GB, free: 11.63 MB / 1.217 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.004029/0.6157, allocations: 2.054 MB / 1.519 GB, free: 9.516 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.6158, allocations: 11.98 kB / 1.519 GB, free: 9.504 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002708/0.616, allocations: 211 kB / 1.52 GB, free: 9.289 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1244/0.7404, allocations: 16.1 MB / 1.535 GB, free: 9.16 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003784/0.7442, allocations: 1.446 MB / 1.537 GB, free: 7.668 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.7443, allocations: 102.8 kB / 1.537 GB, free: 7.566 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005627/0.7449, allocations: 136 kB / 1.537 GB, free: 7.434 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0402/0.7851, allocations: 8.338 MB / 1.545 GB, free: 15.03 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/0.7851, allocations: 4 kB / 1.545 GB, free: 15.02 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003902/0.7855, allocations: 56 kB / 1.545 GB, free: 14.97 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.302e-05/0.7855, allocations: 32 kB / 1.545 GB, free: 14.94 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07648/0.862, allocations: 14.62 MB / 1.559 GB, free: 300 kB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04954/0.9116, allocations: 12.12 MB / 1.571 GB, free: 3.949 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06524/0.9768, allocations: 10.34 MB / 1.581 GB, free: 9.594 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03694/1.014, allocations: 6.69 MB / 1.588 GB, free: 2.891 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007428/1.014, allocations: 0.6101 MB / 1.588 GB, free: 2.152 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03842/1.053, allocations: 7.334 MB / 1.596 GB, free: 10.79 MB / 1.295 GB Notification: Performance of pre-optimization done (n=115): time 3.376e-06/1.053, allocations: 0 / 1.596 GB, free: 10.79 MB / 1.295 GB Notification: Performance of matching and sorting (n=115): time 0.7384/1.791, allocations: 19.65 MB / 1.615 GB, free: 256.5 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.696e-05/1.791, allocations: 193.1 kB / 1.615 GB, free: 256.3 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/1.793, allocations: 0.8377 MB / 1.616 GB, free: 255.9 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0004729/1.793, allocations: 49.22 kB / 1.616 GB, free: 255.9 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003933/1.793, allocations: 0.565 MB / 1.616 GB, free: 255.6 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005373/1.794, allocations: 395.2 kB / 1.617 GB, free: 255.3 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001212/1.795, allocations: 373.2 kB / 1.617 GB, free: 255.2 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 8.117e-05/1.795, allocations: 350.1 kB / 1.618 GB, free: 254.9 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03659/1.832, allocations: 6.794 MB / 1.624 GB, free: 253.7 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03521/1.867, allocations: 6.933 MB / 1.631 GB, free: 251.8 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06413/1.931, allocations: 11.6 MB / 1.642 GB, free: 245.9 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/1.931, allocations: 4.516 kB / 1.642 GB, free: 245.9 MB / 1.295 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.06701/1.998, allocations: 13.08 MB / 1.655 GB, free: 236.7 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/1.998, allocations: 4 kB / 1.655 GB, free: 236.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/1.998, allocations: 0 / 1.655 GB, free: 236.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005618/1.999, allocations: 89.77 kB / 1.655 GB, free: 236.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01872/2.017, allocations: 2.763 MB / 1.658 GB, free: 233.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/2.019, allocations: 1.65 MB / 1.659 GB, free: 232 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01863/2.038, allocations: 2.539 MB / 1.662 GB, free: 229.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004818/2.038, allocations: 107.8 kB / 1.662 GB, free: 229.4 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.001096/2.039, allocations: 349.5 kB / 1.662 GB, free: 229 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005896/2.04, allocations: 124.5 kB / 1.662 GB, free: 228.9 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0684/2.108, allocations: 13.79 MB / 1.676 GB, free: 215.1 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/2.108, allocations: 12 kB / 1.676 GB, free: 215.1 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/2.108, allocations: 0 / 1.676 GB, free: 215.1 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.59e-05/2.108, allocations: 7.969 kB / 1.676 GB, free: 215.1 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002379/2.111, allocations: 2.638 MB / 1.679 GB, free: 212.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/2.111, allocations: 0 / 1.679 GB, free: 212.5 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01813/2.129, allocations: 2.745 MB / 1.681 GB, free: 209.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004691/2.129, allocations: 76.78 kB / 1.681 GB, free: 209.7 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006265/2.13, allocations: 103.8 kB / 1.681 GB, free: 209.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/2.132, allocations: 1.676 MB / 1.683 GB, free: 207.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/2.132, allocations: 0.5469 kB / 1.683 GB, free: 207.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0661/2.198, allocations: 13.01 MB / 1.696 GB, free: 194.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001679/2.199, allocations: 0.8374 MB / 1.697 GB, free: 193.9 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005208/2.2, allocations: 24 kB / 1.697 GB, free: 193.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01818/2.218, allocations: 2.485 MB / 1.699 GB, free: 191.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002299/2.218, allocations: 98.7 kB / 1.699 GB, free: 191.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004209/2.219, allocations: 115.8 kB / 1.699 GB, free: 191.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0007521/2.22, allocations: 0.5967 MB / 1.7 GB, free: 190.5 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/2.22, allocations: 4 kB / 1.7 GB, free: 190.5 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002153/2.222, allocations: 0.7455 MB / 1.7 GB, free: 189.8 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.07055/2.292, allocations: 14.11 MB / 1.714 GB, free: 175.9 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0685/2.361, allocations: 13.86 MB / 1.728 GB, free: 162 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/2.361, allocations: 7.844 kB / 1.728 GB, free: 162 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.03545/2.396, allocations: 6.997 MB / 1.735 GB, free: 155 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/2.398, allocations: 346.8 kB / 1.735 GB, free: 154.7 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2121/2.61, allocations: 46.85 MB / 1.781 GB, free: 107.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005099/2.611, allocations: 1.197 MB / 1.782 GB, free: 106.4 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.003575/2.614, allocations: 0.8251 MB / 1.783 GB, free: 105.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002206/2.616, allocations: 0.6981 MB / 1.783 GB, free: 104.9 MB / 1.295 GB Notification: Performance of SimCode: time 1.482e-06/2.616, allocations: 0 / 1.783 GB, free: 104.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0818/2.698, allocations: 52.53 MB / 1.835 GB, free: 52.49 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.14/16.84, allocations: 7.922 kB / 1.835 GB, free: 52.48 MB / 1.295 GB " [Timeout remaining time 283] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang_res.csv --start-time 0 --stop-time 86400 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 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.csv","/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] "Error: Could not read variable ove.fraSun in file Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang_res.csv. Warning: Get data of variable ove.fraSun from file Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang_res.csv failed! Error: Could not read variable ove.HDirTilUns in file Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang_res.csv. Warning: Get data of variable ove.HDirTilUns from file Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang_res.csv failed! Error: Could not read variable ove.HDirTil in file Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang_res.csv. Warning: Get data of variable ove.HDirTil from file Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 23.53934759180993]