Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.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.001248/0.001248, allocations: 103 kB / 16.45 MB, free: 6.449 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.001265/0.001265, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.379/1.379, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.006/3.006, allocations: 0.505 GB / 0.8066 GB, free: 23.14 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.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_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.002049/0.002049, allocations: 69.77 kB / 1.172 GB, free: 17.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3224, allocations: 180.2 MB / 1.348 GB, free: 9.992 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.008724/0.3312, allocations: 6.131 MB / 1.354 GB, free: 3.832 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1774/0.5086, allocations: 155.3 MB / 1.505 GB, free: 7.934 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/0.5099, allocations: 23.81 kB / 1.505 GB, free: 7.91 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0007574/0.5107, allocations: 241.7 kB / 1.506 GB, free: 7.672 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002266/0.513, allocations: 0.6894 MB / 1.506 GB, free: 6.98 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002568/0.5155, allocations: 1.023 MB / 1.507 GB, free: 5.965 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002288/0.5178, allocations: 1.975 MB / 1.509 GB, free: 3.98 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009379/0.5188, allocations: 0.5742 MB / 1.51 GB, free: 3.363 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000907/0.5197, allocations: 0.7321 MB / 1.511 GB, free: 2.629 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009053/0.5206, allocations: 0.792 MB / 1.511 GB, free: 1.836 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002298/0.5208, allocations: 172 kB / 1.511 GB, free: 1.668 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001364/0.5222, allocations: 0.726 MB / 1.512 GB, free: 0.9414 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004128/0.5226, allocations: 438.7 kB / 1.513 GB, free: 0.5117 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008575/0.5234, allocations: 0.8046 MB / 1.513 GB, free: 15.7 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003041/0.5265, allocations: 2.351 MB / 1.516 GB, free: 13.34 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.5265, allocations: 4 kB / 1.516 GB, free: 13.34 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.854e-06/0.5265, allocations: 0 / 1.516 GB, free: 13.34 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.457e-05/0.5265, allocations: 3.938 kB / 1.516 GB, free: 13.34 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.003631/0.5301, allocations: 1.92 MB / 1.518 GB, free: 11.36 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/0.5302, allocations: 15.98 kB / 1.518 GB, free: 11.34 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002437/0.5304, allocations: 182 kB / 1.518 GB, free: 11.15 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1169/0.6474, allocations: 16.09 MB / 1.533 GB, free: 11.03 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002791/0.6502, allocations: 1.262 MB / 1.535 GB, free: 9.727 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.35e-05/0.6502, allocations: 94.47 kB / 1.535 GB, free: 9.633 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005043/0.6508, allocations: 120 kB / 1.535 GB, free: 9.516 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03941/0.6902, allocations: 7.97 MB / 1.543 GB, free: 1.473 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.6902, allocations: 0 / 1.543 GB, free: 1.473 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003563/0.6905, allocations: 48 kB / 1.543 GB, free: 1.426 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.71e-05/0.6906, allocations: 28 kB / 1.543 GB, free: 1.398 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07449/0.7651, allocations: 14.04 MB / 1.556 GB, free: 3.328 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04461/0.8097, allocations: 10.36 MB / 1.567 GB, free: 8.773 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06325/0.8729, allocations: 9.943 MB / 1.576 GB, free: 14.81 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03521/0.9081, allocations: 6.386 MB / 1.583 GB, free: 8.41 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005919/0.9087, allocations: 0.5983 MB / 1.583 GB, free: 7.688 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03664/0.9454, allocations: 7.029 MB / 1.59 GB, free: 0.6289 MB / 1.279 GB Notification: Performance of pre-optimization done (n=113): time 4.258e-06/0.9454, allocations: 0 / 1.59 GB, free: 0.6289 MB / 1.279 GB Notification: Performance of matching and sorting (n=113): time 0.6833/1.629, allocations: 18.85 MB / 1.608 GB, free: 257.6 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.784e-05/1.629, allocations: 196.8 kB / 1.609 GB, free: 257.4 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/1.63, allocations: 0.7878 MB / 1.609 GB, free: 257.2 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0004859/1.63, allocations: 49.11 kB / 1.609 GB, free: 257.2 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003726/1.631, allocations: 0.513 MB / 1.61 GB, free: 257.1 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005186/1.631, allocations: 387.5 kB / 1.61 GB, free: 256.9 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001118/1.632, allocations: 366.2 kB / 1.611 GB, free: 256.9 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 7.522e-05/1.632, allocations: 351.8 kB / 1.611 GB, free: 256.6 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03511/1.668, allocations: 6.528 MB / 1.617 GB, free: 255.8 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03566/1.703, allocations: 6.68 MB / 1.624 GB, free: 254.7 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06329/1.767, allocations: 11.28 MB / 1.635 GB, free: 250.5 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/1.767, allocations: 0 / 1.635 GB, free: 250.5 MB / 1.295 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.06701/1.834, allocations: 12.65 MB / 1.647 GB, free: 244.1 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/1.834, allocations: 7.781 kB / 1.647 GB, free: 244.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/1.834, allocations: 3.984 kB / 1.647 GB, free: 244.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005935/1.834, allocations: 82.84 kB / 1.647 GB, free: 244.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01838/1.853, allocations: 2.767 MB / 1.65 GB, free: 242.3 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/1.854, allocations: 1.637 MB / 1.652 GB, free: 240.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01804/1.872, allocations: 2.534 MB / 1.654 GB, free: 238 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006449/1.873, allocations: 111.8 kB / 1.654 GB, free: 237.9 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.solAzi.outsidePolarCircle,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,incAng.decAng.tNext,$PRE.incAng.decAng.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 (132): * Single equations (assignments): 131 * 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.001133/1.874, allocations: 309.3 kB / 1.655 GB, free: 237.6 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006077/1.875, allocations: 119.2 kB / 1.655 GB, free: 237.5 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06776/1.943, allocations: 13.31 MB / 1.668 GB, free: 224.2 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/1.943, allocations: 16 kB / 1.668 GB, free: 224.2 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/1.943, allocations: 2.625 kB / 1.668 GB, free: 224.2 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.248e-05/1.943, allocations: 7.969 kB / 1.668 GB, free: 224.2 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002389/1.945, allocations: 1.995 MB / 1.67 GB, free: 222.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/1.945, allocations: 0 / 1.67 GB, free: 222.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01806/1.963, allocations: 2.741 MB / 1.672 GB, free: 219.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004573/1.963, allocations: 76.78 kB / 1.672 GB, free: 219.4 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005099/1.964, allocations: 103.7 kB / 1.672 GB, free: 219.3 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/1.965, allocations: 1.667 MB / 1.674 GB, free: 217.5 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.965, allocations: 0 / 1.674 GB, free: 217.5 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06529/2.031, allocations: 12.52 MB / 1.686 GB, free: 204.9 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/2.032, allocations: 0.6928 MB / 1.687 GB, free: 204.2 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004416/2.033, allocations: 24 kB / 1.687 GB, free: 204.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01789/2.05, allocations: 2.485 MB / 1.689 GB, free: 201.7 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002035/2.051, allocations: 93.17 kB / 1.69 GB, free: 201.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003866/2.051, allocations: 111.8 kB / 1.69 GB, free: 201.5 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.000637/2.052, allocations: 0.5615 MB / 1.69 GB, free: 200.9 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/2.052, allocations: 4 kB / 1.69 GB, free: 200.9 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001896/2.054, allocations: 0.7283 MB / 1.691 GB, free: 200.2 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,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 125 * 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.06798/2.122, allocations: 13.61 MB / 1.704 GB, free: 186.8 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.06638/2.188, allocations: 13.3 MB / 1.717 GB, free: 173.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/2.188, allocations: 7.828 kB / 1.717 GB, free: 173.5 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.03295/2.221, allocations: 6.685 MB / 1.724 GB, free: 166.8 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/2.223, allocations: 344.8 kB / 1.724 GB, free: 166.5 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.205/2.428, allocations: 44.82 MB / 1.768 GB, free: 121.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/2.428, allocations: 1.16 MB / 1.769 GB, free: 120.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.003354/2.431, allocations: 0.813 MB / 1.77 GB, free: 119.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002053/2.433, allocations: 0.6434 MB / 1.77 GB, free: 118.8 MB / 1.295 GB Notification: Performance of SimCode: time 8.72e-07/2.433, allocations: 0 / 1.77 GB, free: 118.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0738/2.507, allocations: 48.95 MB / 1.818 GB, free: 70.06 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.14/16.65, allocations: 14.41 kB / 1.818 GB, free: 70.05 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.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_BaseClasses_Examples_Overhang.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.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: 23.05616735201329]